Dimen attributes not working in deutsch language android -
Dimen attributes not working in deutsch language android -
i using checkbox , add together padding dimen value
<dimen name="padding_checkbox">25dp</dimen>
i have created v-17 folder big device , set
<dimen name="padding_checkbox">5dp</dimen>
now i'm testing app on nexus in english, it's returning expected result, when alter language of device , set deutsch(german), checkbox padding gets big, tried checking padding value with
int px = getresources().getdimensionpixelsize(r.dimen.padding_checkbox);
and 7 in english language , 33 in deutsch(german), cannot understand why happening.
i think have mentioned
<dimen name="padding_checkbox">25dp</dimen>
in values-de why happening(may be).try remove it, if exists.
android
Comments
Post a Comment