android - How to enable Lollipop features(TranslucentStatus, colorButtonNormal, etc) in Kitkat -
i've developed app working fine on lollipop
devices without problem.but, there problem in kitkat
, can't find in manuals or ducumentation in android developers.
for example, have theme in styles everyscreens or android versions:
<!-- base application theme. --> <style name="apptheme" parent="theme.appcompat.light.noactionbar"> <item name="colorprimarydark">@color/colorprimarydark</item> <item name="colorprimary">@color/colorprimary</item> <item name="windowactionbar">false</item> <item name="android:windowtranslucentstatus">true</item> <item name="android:colorbuttonnormal" tools:targetapi="lollipop">#43a047</item> <!-- customize theme here. --> </style>
and had use tools:targetapi
disabling suggest or error.but, need use features colorprimarydark, windowtranslucentstatusbar , of course, colorbuttonnormal
in kitkat devices.and had delete windowtranslucentstatus
in v19 style showing them correctly in kitkat
.
how can or use these features in kitkat
lollipop
, there duc this?
thanks in advanced.!
Comments
Post a Comment