gyf-dev / gyf-dev/ImmersionBar

padding全部失效

Open
#555 0 comments 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

引用这个库后, ImmersionBar.with(this).statusBarColor(R.color.colorWhite).statusBarDarkFont(true).transparentNavigationBar().init();
方法,布局中所有的padding都失效了

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 reproducing the reported ImmersionBar.with(this)...init() call in an Android layout that uses padding. Inspect how this initialization handles the window and layout insets, then verify whether the layout's padding is preserved after initialization. Done means the reported padding remains effective while the requested status and navigation bar settings still apply.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.