im_activity_other_msg_detail.xml 2.3 KB
Newer Older
konghaorui committed
1 2 3 4 5 6 7 8 9 10 11
<?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:orientation="vertical"
    android:background="@color/platform_f5f5f5"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <com.ydl.ydlcommon.view.TitleBar
        android:id="@+id/title_bar"
        app:pa_title_text="消息"
konghaorui committed
12
        app:pa_left_start_icon="@drawable/platform_common_back"
konghaorui committed
13 14
        android:layout_width="match_parent"
        android:layout_height="@dimen/title_bar_height"
konghaorui committed
15
            android:background="@color/platform_white"
konghaorui committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29
        app:pa_right_text="全部已读" />

    <in.srain.cube.views.ptr.PtrFrameLayout
        android:id="@+id/store_house_ptr_frame"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <in.srain.cube.views.loadmore.LoadMoreListViewContainer
            android:layout_width="match_parent"
            android:layout_height="match_parent">
            <ListView
                android:id="@+id/lv_content"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
30
                android:paddingBottom="30dp"
konghaorui committed
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
                android:background="#f3f3f3"
                android:divider="@null" />

            <LinearLayout
                android:id="@+id/ll_empty"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:gravity="center"
                android:orientation="vertical">

                <ImageView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@drawable/im_msg_empty" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/im_default_dis_size_huge"
                    android:text="啥消息都没有"
                    android:textColor="#D6D6D6" />

            </LinearLayout>
        </in.srain.cube.views.loadmore.LoadMoreListViewContainer>

    </in.srain.cube.views.ptr.PtrFrameLayout>
</LinearLayout>