2012-01-12 32 views
1

我想在我的Android机器上定制我的CheckBox,但它在不同的机器人机器上有不同的显示?相同的复选框,但它在两个不同的机器人机器上有不同的显示?

这里是我的里程碑2(Android 2.2的): enter image description here

在我的索尼爱立信LT18i(安卓2.3.4): enter image description here

而且shop_near_choise_bg.9.png: enter image description here

<CheckBox 
     android:id="@+id/shop_near_distance_selector" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_weight="0.0" 
     android:background="@drawable/shop_near_choise_bg" 
     android:button="@null" 
     android:padding="0dip" 
     android:text="@string/shop_near" /> 
+0

尝试添加底部填充。 – Hiral 2012-01-12 07:33:31

回答

0

正如我所看到的,你没有可绘制内容的地方(黑色px图片右侧和底部)。指定此区域并再次检查。

如果您使用draw9patch那里您可以看到内容的区域。

相关问题