layout_chooseseat_pop.xml 10.9 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"
    android:orientation="vertical">

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

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

        <TextView
            android:id="@+id/chooseseat_tv_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_alignParentTop="true"
            android:layout_marginLeft="14dp"
            android:layout_marginTop="7dp"
            android:gravity="center"
            android:textColor="@color/color_333"
            android:textSize="14sp"
            tools:text="决战紫禁之巅" />

        <TextView
            android:id="@+id/chooseseat_tv_time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/chooseseat_tv_title"
            android:layout_marginLeft="14dp"
            android:layout_marginTop="7dp"
            android:ellipsize="end"
            android:gravity="center"
            android:maxLines="1"
            android:textColor="#676767"
            android:textSize="11sp"
            tools:text="周五 16:34" />

        <ImageView
            android:id="@+id/chooseseat_img_change"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@id/chooseseat_tv_time"
            android:layout_marginLeft="16dp"
            android:layout_toRightOf="@id/chooseseat_tv_time"
            android:src="@mipmap/orderseat_changearea_button" />


        <ImageView
            android:id="@+id/img_close"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginRight="11dp"
            android:src="@mipmap/close_button" />

    </RelativeLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="23dp"
        android:background="#e7e7e9"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="14dp"
            android:src="@mipmap/order_seat_saleing" />

        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="22dp"
            android:src="@mipmap/order_seat_choose" />


        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="22dp"
            android:src="@mipmap/order_seat_saled" />

    </LinearLayout>

    <com.cnlive.goldenline.ui.widget.selectionview.view.SeatSelectionView
        android:id="@+id/chooseseat_selection_view"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:layout_weight="1"
        android:clickable="true" />


    <RelativeLayout
        android:id="@+id/chooseseat_bottom_bar"
        android:layout_width="match_parent"
        android:layout_height="120dp"
        android:layout_gravity="bottom|center_horizontal"
        android:background="#f7f7f7"
        android:visibility="gone">

        <View
            android:id="@+id/top"
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="#d4d4d4" />

        <View
            android:id="@+id/cut"
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_centerVertical="true"
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp"
            android:background="@color/color_cutline_ececec" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_above="@id/cut">

            <TextView
                android:id="@+id/choseseat_tv_tag"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true"
                android:layout_marginLeft="18dp"
                android:text="已选座位" />


            <LinearLayout
                android:id="@+id/chooseseat_layout_containter"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_marginRight="15dp"
                android:orientation="horizontal">

            </LinearLayout>

        </RelativeLayout>

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_below="@id/cut">

            <TextView
                android:id="@+id/chooseseat_tv_price"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_centerVertical="true"
                android:layout_marginLeft="18dp"
                android:includeFontPadding="false"
                android:textColor="@color/color_333"
                android:textSize="25sp"
                tools:text="110" />

            <ImageView
                android:id="@+id/chooseseat_btn_confirm"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:layout_marginRight="10dp"
                android:src="@mipmap/orderseat_confirm_seat" />
        </RelativeLayout>
    </RelativeLayout>
</LinearLayout>
    <RelativeLayout
        android:id="@+id/chooseseat_layout_changearea_root"
        android:layout_width="match_parent"
        android:layout_height="107dp"
        android:layout_below="@id/title"
        android:background="#f7f7f7"
        android:visibility="gone">

        <HorizontalScrollView
            android:id="@+id/theatrearea_layout_root"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@mipmap/orderseat_changarea_bg"
            android:fillViewport="true"
            android:scrollbars="none">

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:paddingLeft="10dp"
                android:paddingRight="10dp"
                android:paddingTop="11dp">

                <TextView
                    android:id="@+id/theatrearea_tv_a"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="11dp"
                    android:background="@drawable/rectangle_f8b451"
                    android:gravity="center"
                    android:lineSpacingExtra="3dp"
                    android:paddingBottom="5dp"
                    android:paddingTop="5dp"
                    android:textSize="9sp"
                    tools:text="A区\n123:32\n23" />

                <TextView
                    android:id="@+id/theatrearea_tv_b"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="11dp"
                    android:layout_marginLeft="18dp"
                    android:background="@drawable/rectangle_c5c5c5"
                    android:gravity="center"
                    android:lineSpacingExtra="3dp"
                    android:paddingBottom="5dp"
                    android:paddingTop="5dp"
                    android:textSize="9sp"
                    tools:text="B区\n123:32\n23" />

                <TextView
                    android:id="@+id/theatrearea_tv_c"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="11dp"
                    android:layout_marginLeft="18dp"
                    android:background="@drawable/rectangle_c5c5c5"
                    android:gravity="center"
                    android:lineSpacingExtra="3dp"
                    android:paddingBottom="5dp"
                    android:paddingTop="5dp"
                    android:textSize="9sp"
                    tools:text="C区\n123:32\n23" />


                <TextView
                    android:id="@+id/theatrearea_tv_d"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="11dp"
                    android:layout_marginLeft="18dp"
                    android:background="@drawable/rectangle_c5c5c5"
                    android:gravity="center"
                    android:lineSpacingExtra="3dp"
                    android:paddingBottom="5dp"
                    android:paddingTop="5dp"
                    android:textSize="9sp"
                    tools:text="D区\n123:32\n23" />

                <TextView
                    android:id="@+id/theatrearea_tv_e"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="11dp"
                    android:layout_marginLeft="18dp"
                    android:background="@drawable/rectangle_c5c5c5"
                    android:gravity="center"
                    android:lineSpacingExtra="3dp"
                    android:paddingBottom="5dp"
                    android:paddingTop="5dp"
                    android:textSize="9sp"
                    tools:text="E区\n123:32\n23" />

            </LinearLayout>

        </HorizontalScrollView>

        <ImageView
            android:id="@+id/chooseseat_img_collapse"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            android:layout_marginBottom="3dp"
            android:src="@mipmap/orderseat_changarea_toparrow_normal" />

    </RelativeLayout>

</RelativeLayout>