item_history_content.xml 3.27 KB
<?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="wrap_content"
    android:id="@+id/layout"
    android:orientation="vertical"
    android:background="#ffffff">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="70dp"
        android:orientation="horizontal"
        android:layout_marginBottom="5dp"
        android:layout_marginTop="5dp">

        <CheckBox
            android:id="@+id/ck_selecter"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="5dp"
            android:button="@mipmap/check"
            android:layout_gravity="center"
           />

        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:layout_marginLeft="34dp"
            android:orientation="vertical"
            android:layout_gravity="center" >

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginBottom="5dp">
                <com.loopj.android.image.SmartImageView
                    android:id="@+id/img_logo"
                    android:layout_width="100dp"
                    android:layout_height="match_parent"
                    android:layout_centerVertical="true"
                    android:layout_marginRight="10dp"
                    android:src="@drawable/default_background"  />

                <TextView
                    android:id="@+id/title_history"
                    android:layout_toRightOf="@id/img_logo"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:textSize="15sp"
                    android:text="《李冠志欢乐和魔法一起上演》"
                    android:textColor="#000000"/>
                <ImageView
                    android:id="@+id/img_status"
                    android:layout_toRightOf="@id/img_logo"
                    android:layout_alignParentBottom="true"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:src="@mipmap/ic_unlook"
                    android:layout_marginRight="10dp"
                    android:visibility="gone"
                    />
                <TextView
                    android:id="@+id/tv_Amount_of_play"
                    android:layout_alignParentBottom="true"
                    android:layout_toRightOf="@id/img_status"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="观看至0%"
                    android:textColor="#696969"
                    android:textSize="12sp"/>

            </RelativeLayout>

        </LinearLayout>

    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="#F0F0F0"/>

</LinearLayout>