dialog_clear.xml 1.67 KB
Newer Older
wjg committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/layout_root"
    android:layout_width="@dimen/dialog_clear_width"
    android:layout_height="@dimen/dialog_clear_height"
    android:background="@drawable/bg_dialog_clear"
    android:orientation="vertical">
    <TextView
        android:id="@+id/txt_text"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:gravity="center"
        android:text="@string/clear_tips"
        android:textColor="@color/textPrimary"
        android:textSize="@dimen/clear_butn_text" />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <Button
            android:id="@+id/butn_yes"
            android:layout_width="0dp"
            android:layout_height="@dimen/clear_butn_height"
            android:layout_weight="1"
            android:background="@drawable/bg_clear_yes"
wjg committed
28
            android:foreground="@null"
wjg committed
29 30 31 32 33 34 35 36 37
            android:text="是"
            android:textColor="@color/textPrimary"
            android:textSize="@dimen/clear_butn_text" />
        <Button
            android:id="@+id/butn_no"
            android:layout_width="0dp"
            android:layout_height="@dimen/clear_butn_height"
            android:layout_weight="1"
            android:background="@drawable/bg_clear_no"
wjg committed
38
            android:foreground="@null"
wjg committed
39 40 41 42 43
            android:text="否"
            android:textColor="@color/white"
            android:textSize="@dimen/clear_butn_text" />
    </LinearLayout>
</LinearLayout>