'2013/07'에 해당되는 글 1건

  1. 2013.07.03 [안드로이드] CheckBox selector 설정

 

소스

CheckBox checkbox01= (CheckBox)findViewById(R.id.checkbox01);
checkbox01.setButtonDrawable(R.drawable.checkbox);

 

xml
android:button="@drawable/checkbox"

 

 

Button의 경우 파일을 Background에다가 작성

android:Background="@drawable/button"

Posted by 달팽이맛나
,