aurelhubert / aurelhubert/ahbottomnavigation
Change Color of a only one tab icon
Open
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
I would like to change a the color of only one tab's icon and leave all others the same.
I tried:
bottomNavigation.getItem(0).getDrawable(activity).setTint(),
bottomNavigation.getItem(0).setColor()
Is it possible ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the BottomNavigation API around getItem(0), getDrawable(activity), setTint(), and setColor(). Determine whether the library exposes per-tab icon coloring, and define done as confirming or documenting a supported way to tint only one tab icon without changing the others.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100