<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.home.activity.PaymentActivity">

    <LinearLayout
        android:id="@+id/linear_layout_parent_text"
        android:layout_width="match_parent"
        android:layout_height="60dp"
        android:layout_marginStart="20dp"
        android:layout_marginEnd="20dp"
        android:orientation="horizontal">

        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_marginEnd="5dp"
            android:layout_weight="1">

            <com.seatel.mobilehall.util.customview.CustomTextView
                android:id="@+id/ctv_user_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_above="@+id/ctv_phone_number_header"
                android:textColor="@color/colorWhiteAlpha"
                android:textSize="@dimen/small_text_size" />

            <com.seatel.mobilehall.util.customview.CustomTextView
                android:id="@+id/ctv_phone_number_header"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:gravity="bottom"
                android:text=""
                android:textColor="@android:color/white"
                android:textSize="@dimen/xxx_large_text_size"
                android:textStyle="bold" />


        </RelativeLayout>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom">

            <com.seatel.mobilehall.util.customview.CustomTextView
                android:id="@+id/tv_amount"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:text="@string/amount"
                android:textColor="@android:color/white" />

            <com.seatel.mobilehall.util.customview.CustomTextView
                android:id="@+id/ctv_value_price"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignBaseline="@+id/tv_amount"
                android:layout_marginStart="2dp"
                android:text="$0"
                android:textColor="@android:color/white"
                android:textSize="@dimen/extra_large_text_size"
                android:textStyle="bold" />

        </LinearLayout>

    </LinearLayout>

    <View
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/linear_layout_parent_text"
        android:background="@color/colorBgWhiteGray" />

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/recycler_view_payment"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/linear_layout_parent_text"
        android:layout_marginStart="5dp"
        android:layout_marginEnd="5dp"
        android:background="@color/colorBgWhiteGray"
        android:clipToPadding="true"
        android:paddingTop="5dp"
        android:paddingBottom="10dp"
        app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
        tools:listitem="@layout/item_method_payment" />

    <com.seatel.mobilehall.util.customview.CustomButton
        android:id="@+id/button_next"
        android:layout_width="match_parent"
        android:layout_height="@dimen/button_height"
        android:layout_alignParentBottom="true"
        android:layout_marginStart="20dp"
        android:layout_marginEnd="20dp"
        android:layout_marginBottom="20dp"
        android:background="@drawable/bg_button_primary"
        android:text="@string/yes"
        android:textColor="@android:color/white"
        android:textSize="@dimen/default_text_size"
        android:visibility="gone" />

    <com.seatel.mobilehall.util.customview.ErrorHandleView
        android:id="@+id/error_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</RelativeLayout>
