|
@@ -39,72 +39,78 @@
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="20dp" />
|
|
|
|
|
|
-
|
|
|
- <com.kongzue.dialogx.util.views.DialogScrollView
|
|
|
- android:id="@+id/scrollView"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:overScrollMode="never">
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.kongzue.dialogx.util.views.DialogScrollView
|
|
|
+ android:id="@+id/scrollView"
|
|
|
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_marginStart="25dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
- android:layout_marginBottom="10dp"
|
|
|
- android:gravity="start"
|
|
|
- android:paddingTop="5dp"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:text="This is content text."
|
|
|
- android:textColor="@color/black70"
|
|
|
- android:textSize="14dp" />
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/box_custom"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:visibility="gone" />
|
|
|
+ android:overScrollMode="never">
|
|
|
|
|
|
- <EditText
|
|
|
- android:id="@+id/txt_input"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:layout_marginStart="20dp"
|
|
|
- android:layout_marginEnd="20dp"
|
|
|
- android:layout_marginBottom="15dp"
|
|
|
- android:background="@drawable/editbox_dialogx_kongzue_light"
|
|
|
- android:inputType="text"
|
|
|
- android:maxLines="1"
|
|
|
- android:paddingStart="10dp"
|
|
|
- android:paddingTop="10dp"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:paddingBottom="10dp"
|
|
|
- android:scrollbars="vertical"
|
|
|
- android:text=""
|
|
|
- android:textColor="@color/black90"
|
|
|
- android:textColorHint="@color/black30"
|
|
|
- android:textSize="14dp"
|
|
|
- android:theme="@style/DialogXCompatThemeLight"
|
|
|
- android:visibility="gone" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- </com.kongzue.dialogx.util.views.DialogScrollView>
|
|
|
-
|
|
|
- <FrameLayout
|
|
|
- android:id="@+id/box_list"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1" />
|
|
|
+ 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_marginStart="25dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:gravity="start"
|
|
|
+ android:paddingTop="5dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:text="This is content text."
|
|
|
+ android:textColor="@color/black70"
|
|
|
+ android:textSize="14dp" />
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/box_custom"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/txt_input"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:layout_marginBottom="15dp"
|
|
|
+ android:background="@drawable/editbox_dialogx_kongzue_light"
|
|
|
+ android:inputType="text"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ android:text=""
|
|
|
+ android:textColor="@color/black90"
|
|
|
+ android:textColorHint="@color/black30"
|
|
|
+ android:textSize="14dp"
|
|
|
+ android:theme="@style/DialogXCompatThemeLight"
|
|
|
+ android:visibility="gone" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.kongzue.dialogx.util.views.DialogScrollView>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/box_list"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:visibility="gone" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/box_button"
|