fragment_course_list.xml 1.84 KB
Newer Older
严久程 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <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:id="@+id/load_more_list_view_container"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

            <ListView
                android:id="@+id/lv_content"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
严久程 committed
21
                android:divider="@color/course_color_EDEDED"
严久程 committed
22 23 24 25 26 27
                android:dividerHeight="0dp" />

            <ImageView
                android:id="@+id/iv_course_list_empty_view"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
严久程 committed
28
                android:src="@drawable/course_blank"
严久程 committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
                android:visibility="gone"
                android:layout_gravity="center_horizontal"
                android:layout_marginTop="50dp"/>

            <TextView
                android:id="@+id/tv_course_list_empty_prompt"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="14dp"
                android:text="暂无相应记录"
                android:layout_gravity="center_horizontal"
                android:visibility="gone"
                android:textColor="#b2b2b2"/>


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

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