<?xml version="1.0" encoding="UTF-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <!-- 连框颜色值 --> <item> <shape> <solid android:color="@color/list_item_card_press_text" /> </shape> </item> <!-- 主体背景颜色值 --> <item android:top="1dp" android:left="1dp" android:right="1dp"> <shape> <solid android:color="@color/white" /> </shape> </item> </layer-list>
android shape绘制组件边框
最新推荐文章于 2023-10-24 10:05:48 发布