Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

translucent makes statusBar too dark #6

Closed
DanteAndroid opened this issue Dec 28, 2016 · 2 comments
Closed

translucent makes statusBar too dark #6

DanteAndroid opened this issue Dec 28, 2016 · 2 comments

Comments

@DanteAndroid
Copy link

DanteAndroid commented Dec 28, 2016

before
after
I use Colorful.config(this) .translucent(true) .apply(); to make my Drawerlayout's content translucent, but to find it makes it too dark, which didn't happen if I use custom Theme instead of this library.
FIY, my original theme contains these properties:

        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:statusBarColor">@android:color/transparent</item>
@garretyoder
Copy link
Owner

garretyoder commented Jan 1, 2017

There is something in your layout already tinting the space where the status bar would be. <item name="android:statusBarColor">@android:color/transparent</item> makes the status bar completely transparent. Colorful's default is just to enable UI transparency, and by default android has a semi transparent status bar. Get rid of whatever is coloring the space behind the status bar and it'll look the same.

@garretyoder
Copy link
Owner

Closing due to inactivity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants