添加弹窗,弹窗通用背景

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"?>
<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
android:drawable="@drawable/background_order_dialog_out_layout"
android:gravity="fill_horizontal|fill_vertical" />
<item
android:bottom="15dp"
android:left="15dp"
android:right="15dp"
android:top="15dp">
android:bottom="5dp"
android:left="5dp"
android:right="5dp"
android:top="5dp">
<shape>
<solid android:color="#F5F5FF" />
<corners android:radius="10dp" />
<stroke
android:width="8dp"
android:width="3dp"
android:color="#657FE4" />
</shape>
</item>

View File

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