android 給 button 添加邊框及底色

一、如下是設置按鈕的右邊框和底邊框顏色爲紅色,邊框大小爲3dp,以下圖:html 在drawable新建一個 buttonstyle.xml的文件,內容以下:java [html]  view plain copy <?xml version="1.0" encoding="UTF-8"?>   <layer-list xmlns:android="http://schemas.android.c
相關文章
相關標籤/搜索