71 lines
2.1 KiB
XML
71 lines
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
android:layout_width="280dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="@drawable/bg_dialog"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:orientation="vertical"
|
||
|
>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/title"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="15dp"
|
||
|
android:layout_marginTop="15dp"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:text="@string/dialog_tip"
|
||
|
android:textColor="@color/textColor"
|
||
|
android:textSize="15sp"
|
||
|
/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/content"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="15dp"
|
||
|
android:layout_marginLeft="15dp"
|
||
|
android:layout_marginRight="15dp"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:textColor="#161616"
|
||
|
android:textSize="14sp"
|
||
|
/>
|
||
|
|
||
|
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginBottom="22dp"
|
||
|
android:layout_height="40dp">
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_cancel"
|
||
|
android:layout_width="87dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:gravity="center"
|
||
|
android:text="@string/cancel"
|
||
|
android:textColor="#B1B1B1"
|
||
|
android:layout_marginRight="7dp"
|
||
|
android:textSize="14sp"
|
||
|
android:background="@mipmap/tipbox_btn_gray"
|
||
|
/>
|
||
|
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/btn_confirm"
|
||
|
|
||
|
android:layout_width="87dp"
|
||
|
android:layout_height="33dp"
|
||
|
android:gravity="center"
|
||
|
android:layout_marginLeft="7dp"
|
||
|
android:text="@string/confirm"
|
||
|
android:textColor="#FFFFFF"
|
||
|
android:textSize="14sp"
|
||
|
android:background="@mipmap/tipbox_btn_orange"
|
||
|
/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|