2012-01-12 51 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那裏您可以看到內容的區域。

相關問題