fragment_run_line.xml 2.52 KB
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="48dp"
            android:background="@color/white">

            <ImageView
                android:id="@+id/back_btn"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:src="@drawable/top_back_black"
                android:layout_centerVertical="true"
                android:padding="10dp"
                />

            <TextView
                android:id="@+id/beijing"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/back_btn"
                android:text="@string/beijing"
                android:layout_marginLeft="10dp"
                android:layout_centerVertical="true"
                android:drawableRight="@drawable/sport_dropdown"
                android:drawablePadding="7dp"
                android:textSize="15sp"
                android:textColor="#333333"
                />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/goline"
                android:textSize="18sp"
                android:textColor="#333333"
                android:layout_centerInParent="true"
                />

            <TextView
                android:id="@+id/my_activity"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_alignParentRight="true"
                android:padding="10dp"
                android:text="@string/myactivity"
                android:textSize="15sp"
                android:textColor="#333333"
                />
        </RelativeLayout>

        <android.support.v7.widget.RecyclerView
            android:id="@+id/run_line_recy"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <com.cnlive.strike.ui.widget.UIEmptyView
            android:id="@+id/empty"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:visibility="gone" />
    </LinearLayout>

</layout>