添加弹窗,弹窗通用背景

This commit is contained in:
18401019693 2023-12-12 16:59:33 +08:00
parent ef34a6cf4f
commit b146f93029
2 changed files with 11 additions and 9 deletions

View File

@ -1,19 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap
android:gravity="fill_vertical|fill_horizontal"
android:src="@drawable/background_order_dialog_out_layout" />
</item>
<item <item
android:drawable="@drawable/background_order_dialog_out_layout" android:bottom="5dp"
android:gravity="fill_horizontal|fill_vertical" /> android:left="5dp"
<item android:right="5dp"
android:bottom="15dp" android:top="5dp">
android:left="15dp"
android:right="15dp"
android:top="15dp">
<shape> <shape>
<solid android:color="#F5F5FF" /> <solid android:color="#F5F5FF" />
<corners android:radius="10dp" /> <corners android:radius="10dp" />
<stroke <stroke
android:width="8dp" android:width="3dp"
android:color="#657FE4" /> android:color="#657FE4" />
</shape> </shape>
</item> </item>

View File

@ -4,7 +4,7 @@
android:layout_height="219dp" android:layout_height="219dp"
android:layout_marginStart="22dp" android:layout_marginStart="22dp"
android:layout_marginEnd="22dp" android:layout_marginEnd="22dp"
android:background="@mipmap/background_order_dialog" android:background="@drawable/background_order_dialog"
android:orientation="vertical"> android:orientation="vertical">
</LinearLayout> </LinearLayout>