Button 變顏色

在drawable包中的xml 默認的button 是灰色 代碼內容: <shape xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="5dp"/> <solid android:color="#CCCCCC"/> </shape> 判斷之後 Button 是紅色
相關文章
相關標籤/搜索