Android爲TextView添加圓角邊框

在drawable文件夾中添加文件border_white.xml,編輯如下內容: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <!-- 這裏是設置爲四周 也可以單獨設置某個位置爲圓角--> <corners and
相關文章
相關標籤/搜索