layout_subscribeshow_info.xml 9.58 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

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

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="18dp"
            android:paddingLeft="10dp"
            android:paddingRight="10dp"
            android:paddingTop="22dp">

            <TextView
                android:id="@+id/subscribeshowinfo_tv_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                tools:text="百老汇纪念歌剧《JERSEY BOYS》" />

            <ImageView
                android:id="@+id/subscribeshowinfo_tv_tag"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                tools:src="@mipmap/index_live_label_icon" />

        </RelativeLayout>

        <TextView
            android:id="@+id/subscribeshowinfo_tv_des"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:ellipsize="end"
            android:maxLines="3"
            android:paddingLeft="10dp"
            android:paddingRight="10dp"
            tools:text="百老汇大道(Broadway)为纽约市重要的南北向道路,南起巴特里公园(Battery Park),由南向北纵贯曼哈顿岛。由于此路两旁分布着为数众多的剧院,是美国戏剧和音乐剧的重要发扬地,“百老汇”因此成为了音乐剧的代名词。" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingBottom="15dp"
            android:paddingLeft="10dp"
            android:paddingRight="8dp">

            <ImageView
                android:id="@+id/subscribeshowinfo_img_more"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_marginTop="22dp"
                android:src="@mipmap/icon_expanded" />

            <ImageView
                android:id="@+id/subscribeshowinfo_img_share"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_marginTop="19dp"
                android:paddingLeft="20dp"
                android:paddingRight="20dp"
                android:src="@mipmap/icon_share" />

            <ImageView
                android:id="@+id/subscribeshowinfo_img_collect"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginRight="17dp"
                android:layout_marginTop="19dp"
                android:layout_toLeftOf="@id/subscribeshowinfo_img_share"
                android:src="@mipmap/icon_uncollect" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/subscribeshowinfo_layout_timer_root"
            android:layout_width="match_parent"
            android:layout_height="72dp"
            android:paddingLeft="10dp">

            <View
                android:id="@+id/subscribeshowinfo_timer_topcut"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_alignParentTop="true"
                android:background="@color/color_cutline_ececec" />

            <FrameLayout
                android:id="@+id/subscribeshowinfo_layout_timer"
                android:layout_width="120dp"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true">


                <cn.iwgang.countdownview.CountdownView
                    android:id="@+id/cv_countdownViewTestHasBg"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:layout_marginBottom="20dp"
                    android:layout_marginTop="20dp"
                    app:isHideTimeBackground="false"
                    app:isShowHour="true"
                    app:isShowMinute="true"
                    app:isShowSecond="true"
                    app:isSuffixTextBold="true"
                    app:isTimeTextBold="true"
                    app:suffix=":"
                    app:suffixGravity="center"
                    app:suffixTextColor="@color/tab_bg"
                    app:suffixTextSize="16sp"
                    app:timeBgRadius="4dp"
                    app:timeBgSize="20dp"
                    app:timeTextColor="#FFFFFF"
                    app:timeTextSize="18sp"/>


            </FrameLayout>

            <TextView
                android:id="@+id/subscribeshowinfo_tv_price"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_marginRight="12dp"
                android:textColor="#ff6633"
                android:textSize="17sp"
                tools:text="¥ 22" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentTop="true"
                android:layout_alignRight="@id/subscribeshowinfo_tv_price"
                android:src="@mipmap/icon_coupon" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_toLeftOf="@id/subscribeshowinfo_tv_price"
                android:layout_toRightOf="@id/subscribeshowinfo_layout_timer"
                android:textColor="#bdbdbd"
                android:textSize="11sp"
                tools:text="17/02/23 09:00 同步直播" />

        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/subscribeshowinfo_layout_theater"
            android:layout_width="match_parent"
            android:layout_height="55dp"
            android:paddingLeft="10dp">

            <View
                android:id="@+id/liveshow_threate_cut"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_alignParentTop="true"
                android:background="@color/color_cutline_ececec" />

            <ImageView
                android:id="@+id/subscribeshowinfo_img_theater"
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true"
                tools:background="@mipmap/icon_apklogo" />

            <TextView
                android:id="@+id/subscribeshowinfo_tv_theater_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginLeft="9dp"
                android:layout_toRightOf="@id/subscribeshowinfo_img_theater"
                android:textColor="#666"
                android:textSize="12sp"
                tools:text="Board Way Theater" />

            <ImageView
                android:id="@+id/subscribeshowinfo_theater_img_arrow"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:src="@mipmap/icon_theatre_next_button" />

            <View
                android:id="@+id/liveshow_threate_cut_bottom"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_alignParentBottom="true"
                android:background="@color/color_cutline_ececec" />

        </RelativeLayout>

        <TextView
            android:id="@+id/subscribeshowinfo_tv_people_online"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginBottom="24dp"
            android:layout_marginTop="38dp"
            tools:text="234人已预约" />

        <com.cnlive.goldenline.ui.widget.GridViewForRecyclerView
            android:id="@+id/subscribeshowinfo_gridview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginBottom="32dp"
            android:layout_marginLeft="29dp"
            android:cacheColorHint="@android:color/transparent"
            android:columnWidth="29dp"
            android:horizontalSpacing="5dp"
            android:numColumns="auto_fit"
            android:scrollbars="none"
            android:stretchMode="none">

        </com.cnlive.goldenline.ui.widget.GridViewForRecyclerView>

    </LinearLayout>
</ScrollView>