|
|
@@ -0,0 +1,59 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:cardCornerRadius="@dimen/common_radius">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="@dimen/dialog_tip_width"
|
|
|
+ android:layout_height="@dimen/dialog_tip_height">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="@color/main_color"
|
|
|
+ android:gravity="left"
|
|
|
+ android:paddingVertical="5dp"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:text="@string/action_confirm" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/et"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerInParent="true"
|
|
|
+ android:layout_marginHorizontal="@dimen/common_spacing"
|
|
|
+ android:background="@drawable/selectable_input_text_bg"
|
|
|
+ android:hint="@string/please_set_url"
|
|
|
+ android:padding="@dimen/selectable_input_edit_padding"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/common_text_size" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="@dimen/common_spacing"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/btn_confirm"
|
|
|
+ style="@style/CommonBtnBlue"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:backgroundTint="#E600AE00"
|
|
|
+ android:text="@string/confirm" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/btn_cancel"
|
|
|
+ style="@style/CommonBtnBlue"
|
|
|
+ android:layout_width="80dp"
|
|
|
+ android:layout_height="25dp"
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
+ android:backgroundTint="#99FF0000"
|
|
|
+ android:text="@string/cancel" />
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+</androidx.cardview.widget.CardView>
|