android - Any way to maintain Holo theme while targetting lollipop/v21 of the SDK? -



android - Any way to maintain Holo theme while targetting lollipop/v21 of the SDK? -

i've read this question, , guess "no" - still there detailes i'd clear. here result of illustration settings screen before , after upgrading sdk v21 , targetting it:

before upgrade (target sdk 19)

after upgrade (target sdk 21, on 21-device)

after upgrade (target sdk 21, on 19-device)

the application using next theme pre-upgrade:

<style name="apptheme" parent="theme.appcompat.light.darkactionbar"/>

..and next theme post-upgrade:

<style name="apptheme" parent="theme.appcompat.light.darkactionbar"> <item name="colorprimary">@color/topbar_background</item> <!--<item name="colorprimarydark">#0f0</item>--> <!-- scheme status bar --> <item name="coloraccent">@color/vg_theme_color</item> </style>

so question really

how either holo theme on v19 device post-upgrade (v21), or how theme-colored checkboxes , titles on v19 devices post-upgrade

basically don't flat, black check box design.

have activity's style's parent inherit holo theme default, , on api > 21 devices, tell same style inherit app compat material theme. can using styles.xml file in res/values-v21 folder.

if notice on kit kat, material gmail app still uses holo preferences.

android

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -