2012-01-12 5 views
1

Android mechine에서 CheckBox를 사용자 정의하고 싶지만 다른 Android mechine에서 다른 디스플레이가 있습니까? 여기동일한 CheckBox이지만 두 개의 다른 Android 메신저에서 다른 디스플레이가 있습니까?

내 마일스톤 2 (안드로이드 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

답변

0

내가 볼 수 있듯이 당신은 드로어 블 (그림의 검은 색 픽셀)의 컨텐츠를위한 장소가 없습니다. 이 영역을 지정하고 다시 확인하십시오.

draw9patch를 사용하면 콘텐츠 영역을 볼 수 있습니다.

관련 문제