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

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

        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:layout_marginBottom="60dp">
            <androidx.cardview.widget.CardView
                android:id="@+id/depositReportContainer"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:cardCornerRadius="10dp"
                app:contentPadding="7dp"
                app:cardElevation="@dimen/card_shadow"
                android:layout_margin="@dimen/card_margin"
                app:cardBackgroundColor="@color/fontColorWhite">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="@string/deposit_report"
                        android:textAppearance="?android:attr/textAppearanceSmall"
                        android:textStyle="bold"
                        android:textColor="@color/colorMC"
                        android:paddingBottom="10dp"/>
                    <RelativeLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content">
                        <androidx.appcompat.widget.AppCompatSpinner
                            android:id="@+id/transferBySpinner"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_margin="5dp"
                            android:spinnerMode="dropdown"
                            android:background="@drawable/dropdown_background"
                            android:padding="5dp"/>
                        <ImageView
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:src="@drawable/ic_expand"
                            android:layout_alignRight="@+id/transferBySpinner"
                            android:layout_alignBottom="@+id/transferBySpinner"
                            android:layout_alignTop="@+id/transferBySpinner"
                            android:layout_marginRight="10dp"
                            android:tint="@color/colorMC"/>
                    </RelativeLayout>

                    <LinearLayout
                        android:id="@+id/transferAsBank"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="vertical">
                        <TextView
                            android:id="@+id/lblAccountNo"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@string/label_account_number_2"
                            android:textAppearance="?android:attr/textAppearanceSmall" />
                        <EditText
                            android:id="@+id/txtAccountNo"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="3dp"
                            android:layout_marginRight="3dp"
                            android:textColorHint="@color/shadowColor"
                            android:textAppearance="?android:attr/textAppearanceSmall"
                            android:layout_marginBottom="3dp"
                            android:padding="10dp"
                            android:imeOptions="actionNext"
                            android:inputType="number"/>
                        <TextView
                            android:id="@+id/lblBankName"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@string/label_bank_name_2"
                            android:textAppearance="?android:attr/textAppearanceSmall"/>
                        <EditText
                            android:id="@+id/txtBankName"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="3dp"
                            android:layout_marginRight="3dp"
                            android:textColorHint="@color/shadowColor"
                            android:textAppearance="?android:attr/textAppearanceSmall"
                            android:layout_marginBottom="3dp"
                            android:padding="10dp"
                            android:imeOptions="actionDone"
                            android:inputType="text"/>
                        <TextView
                            android:id="@+id/lblBatchId"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@string/label_batch_id_2"
                            android:textAppearance="?android:attr/textAppearanceSmall"/>
                        <EditText
                            android:id="@+id/txtBatchId"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="3dp"
                            android:layout_marginRight="3dp"
                            android:textColorHint="@color/shadowColor"
                            android:textAppearance="?android:attr/textAppearanceSmall"
                            android:layout_marginBottom="3dp"
                            android:textColor="@color/disabledFontColor"
                            android:padding="10dp"
                            android:enabled="false"/>
                        <RelativeLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:orientation="horizontal">
                            <TextView
                                android:id="@+id/lblTransferEvidence"
                                android:layout_width="match_parent"
                                android:layout_height="wrap_content"
                                android:text="@string/label_transfer_evidence_2"
                                android:textAppearance="?android:attr/textAppearanceSmall"/>
                            <ImageView
                                android:id="@+id/imgBukti"
                                android:layout_width="120dp"
                                android:layout_height="120dp"
                                android:layout_marginRight="5dp"
                                android:background="@drawable/dropdown_background"
                                android:layout_alignParentRight="true"/>
                            <Button
                                android:id="@+id/btnTakePhoto"
                                android:layout_width="match_parent"
                                android:layout_height="40dp"
                                android:layout_marginLeft="5dp"
                                android:layout_below="@id/lblTransferEvidence"
                                android:layout_marginRight="50dp"
                                android:layout_toLeftOf="@id/imgBukti"
                                android:layout_marginTop="25dp"
                                android:background="@drawable/button_background"
                                android:text="@string/take_a_photo"
                                android:textColor="@color/fontColorWhite"
                                android:textAppearance="?android:attr/textAppearanceSmall"/>
                        </RelativeLayout>
                    </LinearLayout>
                    <LinearLayout
                        android:id="@+id/transferAsCashier"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:orientation="vertical"
                        android:visibility="gone">
                        <TextView
                            android:id="@+id/lblCashierName"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:text="@string/label_cashier_name_2"
                            android:textAppearance="?android:attr/textAppearanceSmall" />
                        <EditText
                            android:id="@+id/txtCashierName"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginLeft="3dp"
                            android:layout_marginRight="3dp"
                            android:imeOptions="actionDone"
                            android:inputType="text"
                            android:padding="10dp"
                            android:textColorHint="@color/shadowColor"
                            android:textAppearance="?android:attr/textAppearanceSmall"/>
                    </LinearLayout>
                </LinearLayout>
            </androidx.cardview.widget.CardView>

        </ScrollView>

        <Button
            android:id="@+id/btnSend"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true"
            android:layout_margin="5dp"
            android:background="@drawable/button_background"
            android:text="@string/btnSend"
            android:layout_weight="1"
            android:textAppearance="?android:attr/textAppearanceSmall"
            android:textColor="@color/fontColorWhite" />
    </RelativeLayout>
</LinearLayout>