common_classics_footer.xml 2.51 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    tools:paddingTop="20dp"
    tools:paddingBottom="20dp"
    tools:background="#F9F9F9"
    tools:parentTag="android.widget.RelativeLayout">

    <ImageView
        android:id="@+id/srl_classics_arrow"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:layout_marginEnd="20dp"
        android:layout_marginRight="20dp"
        android:layout_centerVertical="true"
        android:layout_toLeftOf="@+id/srl_classics_title"
        android:layout_toStartOf="@+id/srl_classics_title"
        android:contentDescription="@android:string/untitled"
        />

    <ImageView
        android:id="@+id/srl_classics_progress"
        android:layout_width="20dp"
        android:layout_height="20dp"
        android:layout_centerVertical="true"
        android:layout_marginEnd="20dp"
        android:layout_marginRight="20dp"
        android:layout_toStartOf="@+id/srl_classics_title"
        android:layout_toLeftOf="@+id/srl_classics_title"
        android:contentDescription="@android:string/untitled"
        tools:src="@android:drawable/stat_notify_sync"
        tools:tint="#666" />

    <TextView
        android:id="@+id/srl_classics_title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:maxLines="1"
        android:text="@string/srl_footer_pulling"
        android:textColor="#999999"
        android:textSize="15sp" />

    <View
        android:id="@+id/vLeftLine"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp1"
        android:layout_centerVertical="true"
        android:layout_marginEnd="@dimen/rmrb_dp16"
        android:layout_marginStart="@dimen/rmrb_dp8"
        android:visibility="gone"
        android:layout_toStartOf="@id/srl_classics_title"
        android:background="#E8E8E8" />

    <View
        android:id="@+id/vRightLine"
        android:layout_width="match_parent"
        android:layout_height="@dimen/rmrb_dp1"
        android:layout_centerVertical="true"
        android:visibility="gone"
        android:layout_marginStart="@dimen/rmrb_dp16"
        android:layout_marginEnd="@dimen/rmrb_dp8"
        android:layout_toEndOf="@id/srl_classics_title"
        android:background="#E8E8E8" />


</RelativeLayout>