gyf-dev / gyf-dev/ImmersionBar

关于导航栏图标颜色的问题

Open
#418 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.