android - Checkbox, radiobutton doesnt appear properly on JellyBean devices when using appcompat-v21 and Theme.appcompat -


s3 4.3

s2 4.1.1

have noticed error when using appcompat-v21 , theme theme.appcompat.

styles.xml

<style name="myactivitytheme" parent="theme.appcompat">     <item name="colorprimary">@color/primary</item>     <item name="colorprimarydark">@color/primarydark</item>     <item name="coloraccent">@color/accent</item> </style> 

manifest.xml

<activity     android:name=".myactivity"     android:label="@string/app_name"     android:theme="@style/myactivitytheme"/> 

the checkbox , radiobutton appearances not correct on 4.1.1 devices , suspect same behavior on 4.0.4 devices well.

i not using real device, used genymotion in both cases. ( 4.3 & 4.1.1) appearances fine 4.2.2+ devices.

if 1 knows issue , how fix this, please share.

also tested on real device samsung galaxy s2 - 4.0.4. doesnt appear correctly. enter image description here

appcompat v21 contained number of issues around backporting styles of components - please update newest appcompat - version 22.2


Comments

Popular posts from this blog

javascript - Wordpress slider, not displayed 100% width -

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -