製做樣式在drawable中進行
(cheakbox)在樣式中點擊變換圖片,<selector>
<item android:state_checked="true" android:drawable="@drawable/jinyubin"/></selector>
button變樣式(見下面圖片)
<shape>corners 邊角弧度:radius
button也能夠用selector<item android:stste_pressed="true"
再加Button的shape>
<shape>corners 邊角弧度:radius
button也能夠用selector<item android:stste_pressed="true"
再加Button的shape>
<shape>corners 邊角弧度:radius
button也能夠用selector<item android:stste_pressed="true"
再加Button的shape>
gradient漸變色angle漸變方向
padding內邊距
solid填充色
stroke邊框