layout_item_collect.xml 2.17 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="71dp"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <CheckBox
            android:id="@+id/checkBox"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="10dp"
            android:button="@null"
            android:background="@drawable/agree_selector"
            android:visibility="gone"/>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <ImageView
                android:id="@+id/image"
                android:layout_width="96dp"
                android:layout_height="55dp"
                android:layout_centerVertical="true"
                android:scaleType="centerCrop"
                android:layout_marginLeft="10dp"
                android:src="@drawable/default_background"/>

            <TextView
                android:id="@+id/title_history"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/image"
                android:layout_weight="1"
                android:layout_marginLeft="10dp"
                android:layout_centerVertical="true"
                android:text="《李冠志欢乐和魔法一起上演》"
                android:textColor="#333"
                android:textSize="13sp" />

            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#e6e5eb"
                android:layout_toRightOf="@+id/image"
                android:layout_alignParentBottom="true"/>

        </RelativeLayout>


    </LinearLayout>



</LinearLayout>