<? xml version = "1.0" encoding = "UTF-8" ?><layer-list xmlns:android = "http://schemas.android.com/apk/res/android" ><!-- 连框颜色值 --><item><shape><solid android:color = "@android:color/darker_gray" /></shape></item><!-- 主体背景颜色值 --><itemandroid:bottom = "1dp"android:top = "1dp" ><shape><solid android:color = "#ffffff" /><paddingandroid:bottom = "10dp"android:left = "10dp"android:right = "10dp"android:top = "10dp" /></shape></item></layer-list>
android 用 XML 自定义边框
最新推荐文章于 2023-07-24 11:52:57 发布