mch_act_dhjl.xml 4.9 KB
<?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:background="#fff"
    android:layout_height="match_parent">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="45dp">
        <LinearLayout
            android:id="@+id/btn_mch_back"
            android:layout_width="wrap_content"
            android:orientation="horizontal"
            android:layout_height="match_parent">

            <ImageView
                android:layout_width="12dp"
                android:layout_height="20dp"
                android:background="@drawable/mch_common_icon_back"
                android:layout_gravity="center_vertical"
                android:layout_marginLeft="8dp"
                android:layout_marginRight="3dp"
                />
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="兑换平台币"
                android:textSize="15dp"
                android:textColor="#676767"
                android:layout_gravity="center_vertical"
                />
        </LinearLayout>
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="兑换记录"
            android:textSize="19dp"
            android:textColor="#222222"
            android:layout_centerInParent="true"
            />
    </RelativeLayout>
    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="#DEE3E4"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:orientation="horizontal"
        android:layout_height="36dp">
        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="match_parent"
            android:gravity="center"
            android:text="平台币"
            android:textColor="#676767"
            android:textSize="14dp"
            />
        <TextView
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="match_parent"
            android:gravity="center"
            android:text="积分"
            android:textColor="#676767"
            android:textSize="14dp"
            />
        <TextView
            android:layout_width="0dp"
            android:layout_weight="1.8"
            android:layout_height="match_parent"
            android:gravity="center"
            android:text="时间"
            android:textColor="#676767"
            android:textSize="14dp"
            />
    </LinearLayout>
    <View
        android:layout_width="match_parent"
        android:layout_height="0.5dp"
        android:background="#DEE3E4"
        />

    <com.mch.smartrefresh.layout.SmartRefreshLayout
        android:id="@+id/layout_havedata"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:overScrollMode="never"
            >
            <LinearLayout
                android:layout_width="match_parent"
                android:orientation="vertical"
                android:layout_height="match_parent">
                <ListView
                    android:id="@+id/xlistview_mch_jl"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:cacheColorHint="#0000"
                    android:clickable="false"
                    android:divider="@null"
                    android:overScrollMode="never"
                    android:listSelector="#00000000"
                    android:scrollbarStyle="outsideOverlay"
                    android:transcriptMode="alwaysScroll" />
                <TextView
                    android:id="@+id/txt_mch_total"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:gravity="right"
                    android:text="共0条记录"
                    android:layout_marginTop="13dp"
                    android:layout_marginBottom="13dp"
                    android:layout_marginRight="16dp"
                    android:textColor="#989898"
                    android:textSize="12dp" />
            </LinearLayout>
        </ScrollView>
    </com.mch.smartrefresh.layout.SmartRefreshLayout>
    <TextView
        android:id="@+id/tv_mch_nodata"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="暂无记录"
        android:textSize="15dp"
        android:textColor="#666666"
        android:visibility="gone"
        android:gravity="center"
        />
</LinearLayout>