gyf-dev / gyf-dev/ImmersionBar
关于导航栏图标颜色的问题
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
用自带的示例测试,从ParamsActivity(导航栏背景蓝色,图标白色)跳到WhiteBarActivity(导航栏背景白色,图标灰色),他们各自都没有调用过navigationBarDarkIcon()相关方法,但图标却能够自动变色。
在自己的代码中有时候想让导航栏图标变色就是变不了,好像SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR这个属性并没有起作用。
请问您知道这是什么原因吗?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the ParamsActivity and WhiteBarActivity examples described in the issue, then read the README and the navigationBarDarkIcon-related behavior. Reproduce the transition and the user's failing case while checking SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR; done requires identifying a reproducible cause and a clearly specified fix or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100