DMPlayer icon indicating copy to clipboard operation
DMPlayer copied to clipboard

Transparent system bar bug in KitKat

Open Khang-NT opened this issue 9 years ago • 2 comments

See my screenshot: Imgur

You can see the status bar and the navigation bar is top overlay on the app. I'm reading your class SystemBarTintManager.java, there are many method, I guess your idea is make the app fullscreen to transparent both status bar and navigation bar, then you set up Status bar View and the navigation view and set Tint color.

There are any idea for this bug?

Khang-NT avatar Aug 11 '16 04:08 Khang-NT

I have got the same issue thats why I leave that code as.You can googleing to resolved the issue.If I have time definitly I will share you the code On Aug 11, 2016 10:22 AM, "Nguyễn Triết Khang" [email protected] wrote:

See my screenshot: [image: Imgur] https://camo.githubusercontent.com/485372971d4f6357e72b0bcdb1a60b845749a7e6/687474703a2f2f692e696d6775722e636f6d2f546b73786c46722e706e67

You can see the status bar and the navigation bar is top overlay on the app. I'm reading your class SystemBarTintManager.java, there are many method, I guess your idea is make the app fullscreen to transparent both status bar and navigation bar, then you set up Status bar View and the navigation view and set Tint color.

There are any idea for this bug?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dibakarece/DMPlayer/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ-A012MuvBYHdpqbpGhspzUk2ZTb1uvks5qeqqcgaJpZM4Jhy6u .

dibakarece avatar Aug 12 '16 08:08 dibakarece

In styles.xml(v19) change those lines <item name="android:windowTranslucentNavigation">@bool/translucentNavigationBar</item> <item name="android:windowTranslucentStatus">@bool/translucentStatusBar</item> with <item name="android:fitsSystemWindows">true</item>.

twenk11k avatar Dec 10 '16 22:12 twenk11k