navasmdc / MaterialDesignLibrary

This is a library with components of Android L to you use in android 2.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slider changes activity colorPrimaryDark to transparent

kvrus opened this issue · comments

Because slider's progress circle nail based on dialog with translucent theme it changes colorPrimaryDark above ActionBar and a can do nothing with it.

fixed. Replace Theme_Translucent style by my own Dialog theme with this parameters:
@color/blue_1
@color/blue_1_semitransparent
@color/blue_1
May be it will help someone

also you can replace Theme_Translucent style in values-v21 like this
<style name="Translucent"> <item name="android:windowBackground">@android:color/transparent</item> <item name="android:statusBarColor">@android:color/transparent</item> <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> <!-- Note that we use the base animation style here (that is no animations) because we really have no idea how this kind of activity will be used. --> <item name="android:windowAnimationStyle">@android:style/Animation</item> </style>