im_message_chat_setting.xml 2.55 KB
Newer Older
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="40dp"
        android:layout_marginRight="40dp"
        android:orientation="vertical"
        android:gravity="center_horizontal"
        android:background="@drawable/im_message_chat_setting_bg">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="全部消息设为已读"
            android:textSize="18dp"
            android:textStyle="bold"
            android:textColor="#242424"
            android:gravity="center"
            android:layout_marginTop="24dp"/>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="本操作会将私聊、通知、互动中的所有未读消息设为已读"
            android:layout_marginLeft="44dp"
            android:layout_marginRight="44dp"
            android:textSize="13dp"
            android:gravity="center"
            android:textColor="#666666"
            android:layout_marginTop="8dp"
            android:layout_marginBottom="24dp"/>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="44dp"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/cancel_btn"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="match_parent"
                android:gravity="center"
                android:text="取消"
                android:textSize="16dp"
                android:textColor="#666666"
                android:background="@drawable/im_message_chat_setting_cancel_btn_bg"/>
            <TextView
                android:id="@+id/sure_btn"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="match_parent"
                android:gravity="center"
                android:text="全部已读"
                android:textSize="16dp"
                android:textColor="@color/white"
                android:background="@drawable/im_message_chat_setting_sure_btn_bg"/>
        </LinearLayout>

    </LinearLayout>

</LinearLayout>