摘要:
自定义android的CheckBox按钮图形有两个步骤三种方式:第一步:新建AndroidXML文件,类型选Drawable,根结点选selector,放置在drawable文件夹内,指定各种checked(甚至pressed)状态下的对应图片。第二步:添加CheckBox控件,并选择下面三种方式中的一种进行配置:修改属性android:button="@drawable/...(上面编写的xml)"编写style结点到style.xml,并添加到CheckBox属性style="@style/xxx":修改android:background=&qu 阅读全文
posted @ 2013-11-30 10:22
wavky
阅读(255)
评论(0)
推荐(0)