|
@@ -0,0 +1,99 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<com.kongzue.dialogx.util.views.DialogXBaseRelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:id="@+id/box_root"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/black40"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/box_bkg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <com.kongzue.dialogx.util.views.MaxRelativeLayout
|
|
|
+ android:id="@+id/bkg"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:background="@drawable/rect_dialogx_miui_bkg_night"
|
|
|
+ android:focusableInTouchMode="true">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:clickable="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingTop="20dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_dialog_title"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:gravity="center"
|
|
|
+ android:paddingHorizontal="20dp"
|
|
|
+ android:paddingTop="7dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:text="Title"
|
|
|
+ android:textColor="@color/dialogxMIUITextDark"
|
|
|
+ android:textSize="18dp" />
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:id="@+id/scrollView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:overScrollMode="never"
|
|
|
+ android:scrollbarSize="7dp"
|
|
|
+ android:scrollbars="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/box_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/txt_dialog_tip"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginHorizontal="26dp"
|
|
|
+ android:gravity="left"
|
|
|
+ android:paddingBottom="5dp"
|
|
|
+ android:text="This is content text."
|
|
|
+ android:textColor="@color/dialogxMIUITextDark"
|
|
|
+ android:textSize="16dp" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/box_custom"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginHorizontal="26dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@drawable/button_dialogx_miui_gray_night"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:tag="cancel"
|
|
|
+ android:text="取消"
|
|
|
+ android:textColor="@color/dialogxMIUITextDark"
|
|
|
+ android:textSize="16dp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.kongzue.dialogx.util.views.MaxRelativeLayout>
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+</com.kongzue.dialogx.util.views.DialogXBaseRelativeLayout>
|