|
|
@@ -1,21 +1,28 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="@dimen/dialog_tip_width"
|
|
|
+ android:layout_height="@dimen/dialog_tip_height">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ style="@style/CommonTextView"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:text="@string/action_confirm" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_tip"
|
|
|
style="@style/CommonTextView" />
|
|
|
|
|
|
<Button
|
|
|
- android:id="@+id/btn_confirm"
|
|
|
+ android:id="@+id/btn_cancel"
|
|
|
style="@style/CommonBtn"
|
|
|
- android:text="@string/confirm" />
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:text="@string/cancel" />
|
|
|
|
|
|
<Button
|
|
|
- android:id="@+id/btn_cancel"
|
|
|
+ android:id="@+id/btn_confirm"
|
|
|
style="@style/CommonBtn"
|
|
|
- android:text="@string/cancel" />
|
|
|
-</LinearLayout>
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_toLeftOf="@id/btn_cancel"
|
|
|
+ android:text="@string/confirm" />
|
|
|
+</RelativeLayout>
|