<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:left="0dp" android:top="3dp"> <shape> <corners android:radius="20dp" /> <gradient android:angle="90" android:endColor="#000000" android:startColor="@color/colorTranslucent" /> </shape> </item> <item android:bottom="6dp" android:right="0dp"> <shape> <corners android:radius="12dp" /> <solid android:color="@color/colorWhite" /> </shape> </item> </layer-list>
drawable shape设置阴影,偏移量
最新推荐文章于 2023-04-30 19:00:00 发布