Advertisement
kitlolz012

activity_book_form.xml ( kita na ung Deposit on this account)

Nov 28th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 33.53 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    xmlns:app="http://schemas.android.com/apk/res-auto"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="match_parent"
  8.    android:fillViewport="true"
  9.    android:background="@drawable/basecolor"
  10.    tools:context=".BookForm">
  11.  
  12.     <com.google.android.material.appbar.AppBarLayout
  13.        android:id="@+id/appbar"
  14.        android:layout_width="match_parent"
  15.        android:layout_height="60dp"
  16.        android:fitsSystemWindows="true"
  17.        android:background="@color/nocolor"
  18.        app:elevation="0dp"
  19.        app:liftOnScroll="true">
  20.  
  21.         <com.google.android.material.appbar.CollapsingToolbarLayout
  22.            android:layout_width="match_parent"
  23.            android:layout_height="wrap_content"
  24.            android:fitsSystemWindows="true"
  25.            app:contentScrim="@color/basecolor"
  26.            app:collapsedTitleTextColor="@color/white"
  27.            app:layout_scrollFlags="scroll|exitUntilCollapsed">
  28.  
  29.             <LinearLayout
  30.                android:layout_width="match_parent"
  31.                android:layout_height="wrap_content"
  32.                android:orientation="horizontal">
  33.                 <ImageView
  34.                    android:layout_width="wrap_content"
  35.                    android:layout_height="wrap_content"
  36.                    android:src="@drawable/back"
  37.                    android:contentDescription="Back"
  38.                    android:onClick="goBack"
  39.                    android:clickable="true"
  40.                    android:focusable="true"
  41.                    android:padding="16dp"
  42.                    android:id="@+id/backButton" />
  43.  
  44.                 <TextView
  45.                    android:id="@+id/userNameTextView"
  46.                    android:layout_width="wrap_content"
  47.                    android:layout_height="wrap_content"
  48.                    android:text="Make your reservation"
  49.                    android:layout_margin="10dp"
  50.                    android:textSize="25sp"
  51.                    android:fontFamily="@font/roboto_light"
  52.                    android:textColor="@color/white"
  53.                    android:layout_marginTop="16dp"/>
  54.             </LinearLayout>
  55.  
  56.             <androidx.appcompat.widget.Toolbar
  57.                android:id="@+id/toolbar"
  58.                android:layout_width="match_parent"
  59.                android:layout_height="?attr/actionBarSize"
  60.                app:layout_collapseMode="pin"
  61.                app:layout_scrollFlags="scroll|enterAlways" />
  62.  
  63.         </com.google.android.material.appbar.CollapsingToolbarLayout>
  64.     </com.google.android.material.appbar.AppBarLayout>
  65.  
  66.     <androidx.core.widget.NestedScrollView
  67.        android:layout_width="match_parent"
  68.        android:layout_height="match_parent"
  69.        android:background="@drawable/layout_bg"
  70.        app:layout_behavior="@string/appbar_scrolling_view_behavior">
  71.  
  72.         <LinearLayout
  73.            android:layout_width="match_parent"
  74.            android:layout_height="wrap_content"
  75.            android:orientation="vertical"
  76.            android:padding="16dp">
  77.  
  78.         <TextView
  79.            android:layout_width="wrap_content"
  80.            android:layout_height="wrap_content"
  81.            android:text="Please fill out the reservation form to secure your booking. Kindly provide the following. We look forward to hosting you!"
  82.            android:layout_margin="10dp"
  83.            android:textSize="15sp"
  84.            android:fontFamily="@font/roboto_light"
  85.            android:textColor="@color/basecolor"
  86.            android:layout_marginTop="16dp"/>
  87.  
  88.         <androidx.cardview.widget.CardView
  89.            android:layout_width="match_parent"
  90.            android:layout_height="wrap_content"
  91.            android:layout_margin="8dp"
  92.            app:cardCornerRadius="20dp"
  93.            android:outlineSpotShadowColor="@color/basecolor2"
  94.            android:elevation="4dp">
  95.  
  96.             <LinearLayout
  97.                android:layout_width="match_parent"
  98.                android:layout_height="wrap_content"
  99.                android:layout_margin="18dp"
  100.                android:orientation="vertical">
  101.  
  102.                 <TextView
  103.                    android:layout_width="wrap_content"
  104.                    android:layout_height="wrap_content"
  105.                    android:text="Your details"
  106.                    android:layout_margin="10dp"
  107.                    android:textSize="18sp"
  108.                    android:fontFamily="@font/roboto_bold"
  109.                    android:textColor="@color/basecolor"
  110.                    android:layout_marginTop="16dp"/>
  111.  
  112.                 <TextView
  113.                    android:layout_width="wrap_content"
  114.                    android:layout_height="wrap_content"
  115.                    android:text="Name:"
  116.                    android:layout_marginLeft="20dp"
  117.                    android:textSize="15sp"
  118.                    android:fontFamily="@font/roboto_light"
  119.                    android:textColor="@color/basecolor"/>
  120.  
  121.  
  122.                 <com.google.android.material.textfield.TextInputLayout
  123.                            android:layout_width="match_parent"
  124.                            android:layout_height="wrap_content"
  125.                            android:layout_marginTop="5dp"
  126.                            app:boxCornerRadiusTopStart="10dp"
  127.                            app:boxCornerRadiusTopEnd="10dp"
  128.                            app:boxCornerRadiusBottomStart="10dp"
  129.                            app:boxCornerRadiusBottomEnd="10dp"
  130.                            app:boxStrokeWidth="0dp"
  131.                            android:hint="Name">
  132.  
  133.                             <com.google.android.material.textfield.TextInputEditText
  134.                                android:id="@+id/fullNameET"
  135.                                android:layout_width="match_parent"
  136.                                android:layout_height="wrap_content"
  137.                                android:backgroundTint="@color/basecolor3"
  138.                                android:importantForAutofill="no"
  139.                                android:padding="20dp"/>
  140.                         </com.google.android.material.textfield.TextInputLayout>
  141.  
  142.                         <LinearLayout
  143.                            android:layout_width="match_parent"
  144.                            android:layout_height="wrap_content"
  145.                            android:layout_marginTop="5dp"
  146.                            android:orientation="horizontal">
  147.  
  148.                             <com.google.android.material.textfield.TextInputLayout
  149.                                android:layout_width="0dp"
  150.                                android:layout_height="wrap_content"
  151.                                android:layout_weight="1"
  152.                                app:boxCornerRadiusTopStart="10dp"
  153.                                app:boxCornerRadiusTopEnd="10dp"
  154.                                app:boxCornerRadiusBottomStart="10dp"
  155.                                app:boxCornerRadiusBottomEnd="10dp"
  156.                                app:boxStrokeWidth="0dp"
  157.                                android:layout_marginEnd="5dp"
  158.                                android:hint="Check-In Date">
  159.  
  160.                                 <com.google.android.material.textfield.TextInputEditText
  161.                                    android:id="@+id/checkInDateET"
  162.                                    android:layout_width="match_parent"
  163.                                    android:layout_height="wrap_content"
  164.                                    android:padding="20dp"
  165.                                    android:focusable="false"
  166.                                    android:backgroundTint="@color/basecolor3"
  167.                                    android:clickable="true"
  168.                                    android:focusableInTouchMode="false"/>
  169.                             </com.google.android.material.textfield.TextInputLayout>
  170.  
  171.                             <com.google.android.material.textfield.TextInputLayout
  172.                                android:layout_width="0dp"
  173.                                android:layout_height="wrap_content"
  174.                                android:layout_weight="1"
  175.                                app:boxCornerRadiusTopStart="10dp"
  176.                                app:boxCornerRadiusTopEnd="10dp"
  177.                                app:boxCornerRadiusBottomStart="10dp"
  178.                                app:boxCornerRadiusBottomEnd="10dp"
  179.                                app:boxStrokeWidth="0dp"
  180.                                android:layout_marginStart="5dp"
  181.                                android:hint="Check-Out Date">
  182.  
  183.                                 <com.google.android.material.textfield.TextInputEditText
  184.                                    android:id="@+id/checkOutDateET"
  185.                                    android:layout_width="match_parent"
  186.                                    android:layout_height="wrap_content"
  187.                                    android:padding="20dp"
  188.                                    android:focusable="false"
  189.                                    android:clickable="true"
  190.                                    android:backgroundTint="@color/basecolor3"
  191.                                    android:focusableInTouchMode="false"/>
  192.                             </com.google.android.material.textfield.TextInputLayout>
  193.                         </LinearLayout>
  194.  
  195.                         <LinearLayout
  196.                            android:layout_width="match_parent"
  197.                            android:layout_height="wrap_content"
  198.                            android:layout_marginTop="5dp"
  199.                            android:orientation="horizontal">
  200.  
  201.                             <LinearLayout
  202.                                android:layout_width="0dp"
  203.                                android:layout_height="wrap_content"
  204.                                android:layout_gravity="center"
  205.                                android:layout_weight="1"
  206.                                android:gravity="center"
  207.                                android:orientation="vertical">
  208.  
  209.                                 <TextView
  210.                                    android:layout_width="wrap_content"
  211.                                    android:layout_height="wrap_content"
  212.                                    android:text="Adults"
  213.                                    android:textSize="16sp" />
  214.  
  215.                                 <LinearLayout
  216.                                    android:layout_width="wrap_content"
  217.                                    android:layout_height="wrap_content"
  218.                                    android:orientation="horizontal"
  219.                                    android:gravity="center">
  220.  
  221.                                     <androidx.appcompat.widget.AppCompatButton
  222.                                        android:id="@+id/minusButton"
  223.                                        android:layout_width="35dp"
  224.                                        android:layout_height="35dp"
  225.                                        android:background="@drawable/box2"
  226.                                        android:onClick="decrementValue"
  227.                                        android:text="—"
  228.                                        android:textColor="@color/textcolor"
  229.                                        android:textSize="15sp"
  230.                                        tools:ignore="TouchTargetSizeCheck" />
  231.  
  232.                                     <TextView
  233.                                        android:layout_width="wrap_content"
  234.                                        android:layout_height="wrap_content"
  235.                                        android:id="@+id/adultsNumberPicker"
  236.                                        android:text="0"
  237.                                        android:textSize="16sp"
  238.                                        android:layout_marginHorizontal="10dp"/>
  239.  
  240.                                     <androidx.appcompat.widget.AppCompatButton
  241.                                        android:id="@+id/plusButton"
  242.                                        android:layout_width="35dp"
  243.                                        android:layout_height="35dp"
  244.                                        android:background="@drawable/box2"
  245.                                        android:onClick="incrementValue"
  246.                                        android:text="+"
  247.                                        android:textColor="@color/textcolor"
  248.                                        android:textSize="15sp"
  249.                                        tools:ignore="TouchTargetSizeCheck" />
  250.  
  251.                                 </LinearLayout>
  252.                             </LinearLayout>
  253.  
  254.                             <LinearLayout
  255.                                android:layout_width="0dp"
  256.                                android:layout_height="wrap_content"
  257.                                android:layout_gravity="center"
  258.                                android:layout_weight="1"
  259.                                android:gravity="center"
  260.                                android:orientation="vertical">
  261.  
  262.                                 <TextView
  263.                                    android:layout_width="wrap_content"
  264.                                    android:layout_height="wrap_content"
  265.                                    android:text="Children"
  266.                                    android:textSize="16sp" />
  267.  
  268.                                 <LinearLayout
  269.                                    android:layout_width="wrap_content"
  270.                                    android:layout_height="wrap_content"
  271.                                    android:orientation="horizontal"
  272.                                    android:gravity="center">
  273.  
  274.                                     <androidx.appcompat.widget.AppCompatButton
  275.                                        android:id="@+id/minusButton2"
  276.                                        android:layout_width="35dp"
  277.                                        android:layout_height="35dp"
  278.                                        android:background="@drawable/box2"
  279.                                        android:onClick="decrementValue2"
  280.                                        android:text="—"
  281.                                        android:textColor="@color/textcolor"
  282.                                        android:textSize="15sp"
  283.                                        tools:ignore="TouchTargetSizeCheck" />
  284.  
  285.                                     <TextView
  286.                                        android:layout_width="wrap_content"
  287.                                        android:layout_height="wrap_content"
  288.                                        android:id="@+id/childrenNumberPicker"
  289.                                        android:text="0"
  290.                                        android:textSize="16sp"
  291.                                        android:layout_marginHorizontal="10dp"/>
  292.  
  293.                                     <androidx.appcompat.widget.AppCompatButton
  294.                                        android:id="@+id/plusButton2"
  295.                                        android:layout_width="35dp"
  296.                                        android:layout_height="35dp"
  297.                                        android:background="@drawable/box2"
  298.                                        android:onClick="incrementValue2"
  299.                                        android:text="+"
  300.                                        android:textColor="@color/textcolor"
  301.                                        android:textSize="15sp"
  302.                                        tools:ignore="TouchTargetSizeCheck" />
  303.  
  304.                                 </LinearLayout>
  305.                             </LinearLayout>
  306.  
  307.                         </LinearLayout>
  308.  
  309.                         <com.google.android.material.textfield.TextInputLayout
  310.                            android:layout_width="match_parent"
  311.                            android:layout_height="wrap_content"
  312.                            android:layout_marginTop="5dp"
  313.                            app:boxCornerRadiusTopStart="10dp"
  314.                            app:boxCornerRadiusTopEnd="10dp"
  315.                            app:boxCornerRadiusBottomStart="10dp"
  316.                            app:boxCornerRadiusBottomEnd="10dp"
  317.                            app:boxStrokeWidth="0dp"
  318.                            android:hint="Contact Number">
  319.  
  320.                             <com.google.android.material.textfield.TextInputEditText
  321.                                android:id="@+id/contactNumberET"
  322.                                android:layout_width="match_parent"
  323.                                android:layout_height="wrap_content"
  324.                                android:backgroundTint="@color/basecolor3"
  325.                                android:importantForAutofill="no"
  326.                                android:inputType="number"
  327.                                android:padding="20dp"/>
  328.                         </com.google.android.material.textfield.TextInputLayout>
  329.  
  330.                         <com.google.android.material.textfield.TextInputLayout
  331.                            android:layout_width="match_parent"
  332.                            android:layout_height="wrap_content"
  333.                            android:layout_marginTop="5dp"
  334.                            app:boxCornerRadiusTopStart="10dp"
  335.                            app:boxCornerRadiusTopEnd="10dp"
  336.                            app:boxCornerRadiusBottomStart="10dp"
  337.                            app:boxCornerRadiusBottomEnd="10dp"
  338.                            app:boxStrokeWidth="0dp"
  339.                            android:hint="Email">
  340.  
  341.                             <com.google.android.material.textfield.TextInputEditText
  342.                                android:id="@+id/emailET"
  343.                                android:layout_width="match_parent"
  344.                                android:layout_height="wrap_content"
  345.                                android:backgroundTint="@color/basecolor3"
  346.                                android:importantForAutofill="no"
  347.                                android:padding="20dp"/>
  348.                         </com.google.android.material.textfield.TextInputLayout>
  349.  
  350.  
  351.                         <LinearLayout
  352.                            android:layout_width="match_parent"
  353.                            android:layout_height="wrap_content"
  354.                            android:layout_marginTop="5dp"
  355.                            android:orientation="horizontal">
  356.  
  357.                             <TextView
  358.                                android:layout_width="0dp"
  359.                                android:layout_weight="1"
  360.                                android:layout_marginTop="10dp"
  361.                                android:layout_height="wrap_content"
  362.                                android:text="Select room type"
  363.                                android:textColor="@color/basecolor"
  364.                                android:fontFamily="@font/roboto_bold"
  365.                                android:layout_marginVertical="10dp"
  366.                                android:textSize="16sp"/>
  367.  
  368.                             <Spinner
  369.                                android:id="@+id/roomPreferenceSpinner"
  370.                                android:layout_width="0dp"
  371.                                android:layout_weight="1"
  372.                                android:layout_height="wrap_content"
  373.                                android:layout_marginTop="10dp"
  374.                                android:layout_marginBottom="10dp"
  375.                                android:hint="Room Preference"
  376.                                style="@android:style/Widget.Spinner"
  377.                                android:padding="8dp"
  378.                                android:dropDownWidth="match_parent"
  379.                                android:contentDescription="Select your room preference"
  380.                                android:popupBackground="#FFF"/>
  381.                         </LinearLayout>
  382.  
  383.             </LinearLayout>
  384.         </androidx.cardview.widget.CardView>
  385.             <TextView
  386.                android:layout_width="wrap_content"
  387.                android:layout_height="wrap_content"
  388.                android:text="Deposit on this Account"
  389.                android:textSize="20sp"
  390.                android:layout_gravity="center_horizontal" />
  391.  
  392.             <LinearLayout
  393.                android:layout_width="match_parent"
  394.                android:layout_height="wrap_content"
  395.                android:orientation="vertical"
  396.                android:padding="16dp"
  397.                android:layout_marginBottom="10dp"
  398.                android:layout_marginTop="10dp"
  399.                android:background="@drawable/box2">
  400.  
  401.                
  402.  
  403.                 <LinearLayout
  404.                    android:layout_width="match_parent"
  405.                    android:layout_height="wrap_content"
  406.                    android:orientation="horizontal">
  407.  
  408.                     <TextView
  409.                        android:layout_width="wrap_content"
  410.                        android:layout_height="wrap_content"
  411.                        android:text="Hotel Gcash Number : "
  412.                        android:textColor="@color/black"
  413.                        android:textSize="13sp"
  414.                        android:gravity="end"
  415.                        android:paddingEnd="1dp"/>
  416.  
  417.                     <TextView
  418.                        android:id="@+id/gcashDepositNumberET"
  419.                        android:layout_width="0dp"
  420.                        android:layout_weight="0.1"
  421.                        android:layout_height="wrap_content"
  422.                        android:padding="10dp"
  423.                        android:hint="Hotel Gcash Number"
  424.                        android:inputType="text"/>
  425.  
  426.                     <ImageView
  427.                        android:id="@+id/copyImageView"
  428.                        android:layout_width="wrap_content"
  429.                        android:layout_height="match_parent"
  430.                        android:contentDescription="Copy"
  431.                        android:paddingStart="1dp"
  432.                        android:src="@drawable/copy" />
  433.                 </LinearLayout>
  434.  
  435.  
  436.                 <!-- Hotel Gcash Name -->
  437.                 <LinearLayout
  438.                    android:layout_width="match_parent"
  439.                    android:layout_height="wrap_content"
  440.                    android:orientation="horizontal">
  441.  
  442.                     <TextView
  443.                        android:layout_width="wrap_content"
  444.                        android:layout_height="wrap_content"
  445.                        android:text="Hotel Gcash Name : "
  446.                        android:textColor="@color/black"
  447.                        android:textSize="13sp"
  448.                        android:gravity="end"
  449.                        android:paddingEnd="5dp"/>
  450.  
  451.                     <TextView
  452.                        android:id="@+id/gcashDepositNameET"
  453.                        android:layout_width="0dp"
  454.                        android:layout_weight="0.1"
  455.                        android:layout_height="wrap_content"
  456.                        android:padding="10dp"
  457.                        android:hint="Hotel Gcash Name"
  458.                        android:inputType="text"/>
  459.                 </LinearLayout>
  460.  
  461.                 <LinearLayout
  462.                    android:layout_width="wrap_content"
  463.                    android:layout_height="match_parent"
  464.                    android:orientation="horizontal">
  465.  
  466.                     <TextView
  467.                        android:layout_width="wrap_content"
  468.                        android:layout_height="wrap_content"
  469.                        android:text="Reserve Fee : "
  470.                        android:textColor="@color/black"
  471.                        android:textSize="16sp"
  472.                        android:gravity="end"
  473.                        android:paddingEnd="8dp"/>
  474.  
  475.                     <TextView
  476.                        android:id="@+id/reservefeeET"
  477.                        android:layout_width="0dp"
  478.                        android:layout_weight="1"
  479.                        android:layout_height="wrap_content"
  480.                        android:padding="15dp"
  481.                        android:hint="Reserve Fee"
  482.                        android:inputType="text"/>
  483.  
  484.  
  485.                 </LinearLayout>
  486.  
  487.  
  488.  
  489.  
  490.             </LinearLayout>
  491.  
  492.  
  493.             <TextView
  494.                android:layout_width="wrap_content"
  495.                android:layout_height="wrap_content"
  496.                android:text="Deposit Form"
  497.                android:textColor="@color/white"
  498.                android:fontFamily="@font/roboto_bold"
  499.                android:layout_marginVertical="10dp"
  500.                android:textSize="20sp"
  501.                android:layout_gravity="center_horizontal" />
  502.  
  503.  
  504.             <androidx.cardview.widget.CardView
  505.                android:layout_width="match_parent"
  506.                android:layout_height="wrap_content"
  507.                app:cardElevation="6dp"
  508.                android:layout_margin="5dp"
  509.                app:cardCornerRadius="20dp">
  510.  
  511.                 <LinearLayout
  512.                    android:layout_width="match_parent"
  513.                    android:layout_height="wrap_content"
  514.                    android:orientation="vertical"
  515.                    android:padding="16dp">
  516.  
  517.                     <TextView
  518.                        android:layout_width="wrap_content"
  519.                        android:layout_height="wrap_content"
  520.                        android:text="Enter your Gcash number"
  521.                        android:layout_marginBottom="15dp"
  522.                        android:fontFamily="@font/roboto_bold"
  523.                        android:textSize="16sp"/>
  524.  
  525.                     <com.google.android.material.textfield.TextInputLayout
  526.                        android:layout_width="match_parent"
  527.                        android:layout_height="wrap_content"
  528.                        app:boxCornerRadiusTopStart="10dp"
  529.                        app:boxCornerRadiusTopEnd="10dp"
  530.                        app:boxCornerRadiusBottomStart="10dp"
  531.                        app:boxCornerRadiusBottomEnd="10dp"
  532.                        app:boxStrokeWidth="0dp"
  533.                        android:hint="Gcash Number">
  534.  
  535.                         <com.google.android.material.textfield.TextInputEditText
  536.                            android:id="@+id/yourGcashNumberET"
  537.                            android:layout_width="match_parent"
  538.                            android:inputType="number"
  539.                            android:layout_height="wrap_content"
  540.                            android:backgroundTint="@color/basecolor3"
  541.                            android:importantForAutofill="no"
  542.                            android:padding="20dp"/>
  543.                     </com.google.android.material.textfield.TextInputLayout>
  544.  
  545.                 </LinearLayout>
  546.             </androidx.cardview.widget.CardView>
  547.  
  548.             <androidx.cardview.widget.CardView
  549.                android:layout_width="match_parent"
  550.                android:layout_height="wrap_content"
  551.                app:cardElevation="6dp"
  552.                android:layout_margin="5dp"
  553.                app:cardCornerRadius="20dp">
  554.  
  555.                 <LinearLayout
  556.                    android:layout_width="match_parent"
  557.                    android:layout_height="wrap_content"
  558.                    android:orientation="vertical"
  559.                    android:padding="16dp">
  560.  
  561.                     <TextView
  562.                        android:layout_width="wrap_content"
  563.                        android:layout_height="wrap_content"
  564.                        android:text="Enter your Gcash name"
  565.                        android:layout_marginBottom="15dp"
  566.                        android:fontFamily="@font/roboto_bold"
  567.                        android:textSize="16sp"/>
  568.  
  569.                     <com.google.android.material.textfield.TextInputLayout
  570.                        android:layout_width="match_parent"
  571.                        android:layout_height="wrap_content"
  572.                        app:boxCornerRadiusTopStart="10dp"
  573.                        app:boxCornerRadiusTopEnd="10dp"
  574.                        app:boxCornerRadiusBottomStart="10dp"
  575.                        app:boxCornerRadiusBottomEnd="10dp"
  576.                        app:boxStrokeWidth="0dp"
  577.                        android:hint="Gcash Name">
  578.  
  579.                         <com.google.android.material.textfield.TextInputEditText
  580.                            android:id="@+id/yourGcashNameET"
  581.                            android:layout_width="match_parent"
  582.                            android:layout_height="wrap_content"
  583.                            android:backgroundTint="@color/basecolor3"
  584.                            android:importantForAutofill="no"
  585.                            android:padding="20dp"/>
  586.                     </com.google.android.material.textfield.TextInputLayout>
  587.                 </LinearLayout>
  588.             </androidx.cardview.widget.CardView>
  589.  
  590.             <androidx.cardview.widget.CardView
  591.                android:layout_width="match_parent"
  592.                android:layout_height="wrap_content"
  593.                app:cardElevation="6dp"
  594.                android:layout_margin="5dp"
  595.                app:cardCornerRadius="20dp">
  596.  
  597.                 <LinearLayout
  598.                    android:layout_width="match_parent"
  599.                    android:layout_height="wrap_content"
  600.                    android:orientation="vertical"
  601.                    android:padding="16dp">
  602.  
  603.                     <TextView
  604.                        android:layout_width="wrap_content"
  605.                        android:layout_height="wrap_content"
  606.                        android:text="Enter your reference number"
  607.                        android:layout_marginBottom="15dp"
  608.                        android:fontFamily="@font/roboto_bold"
  609.                        android:textSize="16sp"/>
  610.  
  611.                     <com.google.android.material.textfield.TextInputLayout
  612.                        android:layout_width="match_parent"
  613.                        android:layout_height="wrap_content"
  614.                        app:boxCornerRadiusTopStart="10dp"
  615.                        app:boxCornerRadiusTopEnd="10dp"
  616.                        app:boxCornerRadiusBottomStart="10dp"
  617.                        app:boxCornerRadiusBottomEnd="10dp"
  618.                        app:boxStrokeWidth="0dp"
  619.                        android:hint="Reference Number">
  620.  
  621.                         <com.google.android.material.textfield.TextInputEditText
  622.                            android:id="@+id/referenceNumberET"
  623.                            android:layout_width="match_parent"
  624.                            android:layout_height="wrap_content"
  625.                            android:inputType="number"
  626.                            android:importantForAutofill="no"
  627.                            android:backgroundTint="@color/basecolor3"
  628.                            android:padding="20dp"/>
  629.                     </com.google.android.material.textfield.TextInputLayout>
  630.                 </LinearLayout>
  631.             </androidx.cardview.widget.CardView>
  632.  
  633.             <!-- Screenshot of the Gcash Receipt -->
  634.             <TextView
  635.                android:layout_width="wrap_content"
  636.                android:layout_height="wrap_content"
  637.                android:text="Screenshot of your Gcash receipt"
  638.                android:textSize="16sp" />
  639.  
  640.             <ImageView
  641.                android:id="@+id/attachedImageView"
  642.                android:layout_width="match_parent"
  643.                android:layout_height="wrap_content"
  644.                android:layout_gravity="center"
  645.                android:layout_marginTop="5dp"
  646.                android:layout_marginBottom="5dp"
  647.                android:scaleType="fitCenter"
  648.                android:visibility="gone" />
  649.  
  650.             <androidx.appcompat.widget.AppCompatButton
  651.                android:id="@+id/attachPhotoButton"
  652.                android:layout_width="140dp"
  653.                android:layout_height="48dp"
  654.                android:layout_gravity="start"
  655.                android:layout_marginTop="8dp"
  656.                android:background="@drawable/gradient2"
  657.                android:text="Attach Photo"
  658.                android:textColor="@color/textcolor"
  659.                android:textSize="14sp" />
  660.  
  661.             <TextView
  662.                android:id="@+id/termsPayment"
  663.                android:layout_width="match_parent"
  664.                android:layout_height="wrap_content"
  665.                android:padding="15dp"
  666.                android:text="Terms of payment"
  667.                android:inputType="text"/>
  668.  
  669.             <ProgressBar
  670.                android:id="@+id/loadingProgressBar"
  671.                android:layout_width="wrap_content"
  672.                android:layout_height="wrap_content"
  673.                android:layout_gravity="center"
  674.                android:visibility="gone" />
  675.  
  676.  
  677.             <androidx.appcompat.widget.AppCompatButton
  678.                android:id="@+id/submitButton"
  679.                android:layout_width="190dp"
  680.                android:layout_height="50dp"
  681.                android:layout_gravity="center"
  682.                android:layout_marginTop="8dp"
  683.                android:background="@drawable/gradient2"
  684.                android:text="Submit"
  685.                android:textColor="@color/textcolor"
  686.                android:textSize="18sp" />
  687.  
  688.         </LinearLayout>
  689.  
  690.  
  691.     </androidx.core.widget.NestedScrollView>
  692. </androidx.coordinatorlayout.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement