|
@@ -0,0 +1,84 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout 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="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="30dp"
|
|
|
+ android:layout_marginEnd="30dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/shape_10dp_white"
|
|
|
+ android:paddingStart="30dp"
|
|
|
+ android:paddingEnd="30dp"
|
|
|
+ android:paddingBottom="20dp">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:paddingTop="20dp"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_18"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ tools:text="我是标题" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:layout_marginEnd="14dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingTop="25dp"
|
|
|
+ android:paddingBottom="25dp"
|
|
|
+ android:text="对方拒收了您的消息"
|
|
|
+ android:textColor="@color/color_666666"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_title"
|
|
|
+ tools:text="对方拒收了您的消息" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_cancel"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginStart="15dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:background="@drawable/shape_border_dbdbdb_1dp_20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="取消"
|
|
|
+ android:textColor="@color/color_666666"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_confirm"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_content" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_confirm"
|
|
|
+ android:layout_width="130dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:background="@drawable/shape_2dc7aa_20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="我知道了"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_cancel"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_cancel" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+</LinearLayout>
|