[add] 添加弹框xml文件

This commit is contained in:
liujing
2021-07-30 21:06:33 +08:00
parent 18b04db849
commit 4e8259f918
4 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#2B6EFF"/>
<corners android:radius="55px"/>
</shape>

View File

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="1529px"
android:layout_height="720px"
android:layout_gravity="center">
<ImageView
android:id="@+id/cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/module_common_icon_close" />
<View
android:id="@+id/description_view"
android:layout_width="256dp"
android:layout_height="136dp"
android:layout_marginStart="133px"
android:layout_marginTop="8dp"
app:layout_constraintStart_toEndOf="@+id/imageView"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/cancel_button" />
<TextView
android:id="@+id/check_button"
android:layout_width="@dimen/dp_287"
android:layout_height="@dimen/dp_100"
android:layout_marginStart="@dimen/check_button_left"
android:layout_marginBottom="@dimen/check_button_bottom"
android:background="@drawable/check_button"
android:gravity="center"
android:text="立即检查"
android:textColor="@color/module_commons_wm_dialog_text_textColor"
android:textSize="@dimen/check_button_text_size"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/dp_794"
android:layout_height="@dimen/dp_483"
android:layout_marginEnd="@dimen/dp_50"
android:src="@drawable/icon_map_marker_book"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="check_item_space_vr">30px</dimen>
<dimen name="check_button_text_size">38px</dimen>
<dimen name="check_button_bottom">190px</dimen>
<dimen name="check_button_left">100px</dimen>
</resources>

View File

@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="blue_back_color">#1A1F40</color>
<color name="blue_check_color">#4192FF</color>
</resources>