dialog_default_tips.xml 1.64 KB
Newer Older
1 2 3 4 5 6 7 8 9
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@android:color/transparent">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
gao.chao committed
10 11
        android:layout_marginLeft="@dimen/size_20"
        android:layout_marginRight="@dimen/size_20"
12 13 14 15 16 17 18 19 20
        android:background="@drawable/bg_dialog_shape"
        android:gravity="center_horizontal"
        android:orientation="vertical">

        <TextView
            android:id="@+id/tv_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
gao.chao committed
21
            android:padding="@dimen/size_10"
22 23 24
            android:gravity="center"
            android:text="内容"
            android:textColor="@color/color_333333"
gao.chao committed
25
            android:textSize="@dimen/text_size_18" />
26 27 28 29

        <TextView
            android:id="@+id/tv_ok"
            android:layout_width="match_parent"
gao.chao committed
30
            android:layout_height="@dimen/size_50"
31 32 33 34
            android:layout_below="@+id/tv_content"
            android:gravity="center"
            android:text="@string/sure"
            android:textColor="@color/color_333333"
gao.chao committed
35
            android:textSize="@dimen/text_size_16" />
36 37 38

        <View
            android:layout_width="match_parent"
gao.chao committed
39
            android:layout_height="@dimen/size_1"
40 41 42 43 44 45
            android:layout_below="@+id/tv_content"
            android:background="@color/color_666666" />
    </RelativeLayout>

</RelativeLayout>