layout_theatre_headview.xml 5.55 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:background="@color/white"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <FrameLayout
        android:layout_width="match_parent"
        android:background="@color/bg_login"
        android:layout_height="167dp">

        <ImageView
            android:id="@+id/ima_showbg"
            android:layout_width="match_parent"
            android:layout_height="167dp"
            android:scaleType="fitXY" />

        <ImageView
            android:layout_width="match_parent"
            android:layout_height="167dp"
            android:background="@mipmap/vague_shade" />

        <LinearLayout
            android:id="@+id/ll_showbackground"
            android:layout_width="match_parent"
            android:layout_height="167dp"
            android:orientation="vertical">

            <RelativeLayout
                android:id="@+id/rl_scroll_title"
                android:layout_width="match_parent"
                android:layout_height="45dp"
                android:background="@null">

                <ImageButton
                    android:id="@+id/button_backinview"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_marginLeft="4dp"
                    android:background="@mipmap/arror_left_white"
                    android:scaleType="fitXY" />

                <ImageButton
                    android:id="@+id/button_share"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
                    android:layout_centerVertical="true"
                    android:layout_marginRight="9dp"
                    android:background="@mipmap/icon_share" />
            </RelativeLayout>

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@null">

                <ImageView
                    android:id="@+id/ima_info_head"
                    android:layout_width="107dp"
                    android:layout_height="80dp"
                    android:layout_marginLeft="18dp"
                    android:layout_marginTop="29dp"
                    android:scaleType="centerCrop"
                    android:src="@drawable/default_background" />

                <TextView
                    android:id="@+id/tv_info_title"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignTop="@id/ima_info_head"
                    android:layout_marginLeft="12dp"
                    android:layout_marginTop="8dp"
                    android:layout_toRightOf="@id/ima_info_head"
                    android:ellipsize="end"
                    android:singleLine="true"
                    android:text="北京保利大剧院"
                    android:textColor="@color/white"
                    android:textSize="14sp" />

                <TextView
                    android:id="@+id/tv_info_num"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/tv_info_title"
                    android:layout_marginLeft="12dp"
                    android:layout_marginTop="6dp"
                    android:layout_toRightOf="@id/ima_info_head"
                    android:ellipsize="end"
                    android:singleLine="true"
                    android:text="0人在看"
                    android:textColor="@color/white"
                    android:textSize="10sp" />

                <TextView
                    android:id="@+id/tv_info_introduction"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_below="@id/tv_info_num"
                    android:layout_marginLeft="12dp"
                    android:layout_marginTop="10dp"
                    android:layout_toRightOf="@id/ima_info_head"
                    android:drawableRight="@mipmap/arror_white_right"
                    android:ellipsize="end"
                    android:gravity="center"
                    android:singleLine="true"
                    android:text="简介"
                    android:textColor="@color/white"
                    android:textSize="12sp" />

                <ImageButton
                    android:id="@+id/button_isaddsub"
                    android:layout_width="50dp"
                    android:layout_height="30dp"
                    android:layout_alignBottom="@id/tv_info_introduction"
                    android:layout_alignParentRight="true"
                    android:layout_marginRight="20dp"
                    android:background="@drawable/subscription_button_selector"
                    android:scaleType="fitXY" />
            </RelativeLayout>
        </LinearLayout>
    </FrameLayout>

    <TextView
        android:layout_width="match_parent"
        android:layout_height="47dp"
        android:layout_gravity="center_vertical"
        android:gravity="center_vertical"
        android:padding="10dp"
        android:text="@string/all_content"
        android:textColor="@color/color_999"
        android:textSize="13sp" />
</LinearLayout>