aurelhubert / aurelhubert/ahbottomnavigation
Change color of selected icon
- Dominant language
- Java
- Stars
- 3.8k
- Forks
- 672
- PR merge metrics
- No merged PRs in 30d
Description
Please help me how to change color of selected Icon???
i Tried :
bottomNavigation.getItem(position).setColor(getResources().getColor(R.color.colorPrimaryDark));
bottomNavigation.getItem(position).getDrawable(MainActivity.this).setTint(getResources().getColor(R.color.colorPrimaryDark));
but not works
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the bottomNavigation.getItem(position), setColor, and getDrawable(MainActivity.this) calls in the library and reproduce the selected-icon state on Android. Done means establishing a documented or working way to change the selected icon color; the payload names no file or test to run.
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