fragment_djq.xml 2.0 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              tools:context=".ui.DjqFragment">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:orientation="horizontal"
        >

        <TextView
            android:id="@+id/diq_all"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="可用"
            android:textColor="#FF6905"
            />

        <TextView
            android:id="@+id/diq_record"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:gravity="center"
            android:text="全部记录"
            android:textColor="#000000"
            />
    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="2dp"
        android:background="#F5F5F5"
        />
    <!--<com.wancms.sdk.ui.MainPageView-->
        <!--android:id="@+id/djq_pageview"-->
        <!--android:layout_width="match_parent"-->
        <!--android:layout_height="match_parent"-->

        <!--/>-->
    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/swipeRefreshLayout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        >
<ListView
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    android:divider="#00000000"
    android:dividerHeight="10dp"
    android:listSelector="@color/tranparent"
    android:id="@+id/djq_list"
    />
    </android.support.v4.widget.SwipeRefreshLayout>
</LinearLayout>