Advertisement
kitlolz012

activity_resort (XML)

Oct 5th, 2023
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.95 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView
  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:background="@drawable/background"
  9.    android:fillViewport="true">
  10.  
  11.     <LinearLayout
  12.        android:layout_width="match_parent"
  13.        android:layout_height="wrap_content"
  14.        android:orientation="vertical"
  15.        android:padding="16dp">
  16.  
  17.         <EditText
  18.            android:id="@+id/fullNameEditText"
  19.            android:layout_width="match_parent"
  20.            android:layout_height="wrap_content"
  21.            android:padding="15dp"
  22.            android:hint="Full Name"/>
  23.  
  24.             <EditText
  25.                android:id="@+id/reservationDateEditText"
  26.                android:layout_width="match_parent"
  27.                android:layout_height="wrap_content"
  28.                android:layout_weight="1"
  29.                android:hint="Check-In Date"
  30.                android:padding="15dp"
  31.                android:focusable="false"
  32.                android:clickable="true"
  33.                android:focusableInTouchMode="false"/>
  34.  
  35.         <LinearLayout
  36.            android:layout_width="match_parent"
  37.            android:layout_height="wrap_content"
  38.            android:orientation="horizontal">
  39.                 <TextView
  40.                    android:layout_width="200dp"
  41.                    android:layout_height="wrap_content"
  42.                    android:layout_weight="1"
  43.                    android:text="Adults"
  44.                    android:gravity="center"
  45.                    android:layout_gravity="center"
  46.                    android:textSize="16sp"/>
  47.  
  48.                 <NumberPicker
  49.                    android:id="@+id/customersNumberPicker"
  50.                    android:layout_width="200dp"
  51.                    android:layout_height="100dp"
  52.                    android:layout_weight="1"
  53.                    android:layout_marginTop="10dp"
  54.                    android:layout_marginBottom="10dp"
  55.                    android:layout_gravity="center"
  56.                    android:descendantFocusability="blocksDescendants"
  57.                    android:gravity="center"
  58.                    android:layout_centerHorizontal="true"
  59.                    android:layout_centerVertical="true"/>
  60.  
  61.             </LinearLayout>
  62.  
  63.         <EditText
  64.            android:id="@+id/contactNumberEditText"
  65.            android:layout_width="match_parent"
  66.            android:layout_height="wrap_content"
  67.            android:padding="15dp"
  68.            android:hint="Contact Number"/>
  69.  
  70.         <EditText
  71.            android:id="@+id/emailEditText"
  72.            android:layout_width="match_parent"
  73.            android:layout_height="wrap_content"
  74.            android:padding="15dp"
  75.            android:hint="Email"/>
  76.         <TextView
  77.            android:layout_width="wrap_content"
  78.            android:layout_height="wrap_content"
  79.            android:text="Deposit on this Account"
  80.            android:textSize="20sp"
  81.            android:layout_gravity="center_horizontal" />
  82.  
  83.         <TextView
  84.            android:id="@+id/gcashDepositNumberResto"
  85.            android:layout_width="match_parent"
  86.            android:layout_height="wrap_content"
  87.            android:padding="15dp"
  88.            android:hint="Hotel Gcash Number"
  89.            android:inputType="text"/>
  90.  
  91.         <TextView
  92.            android:id="@+id/gcashDepositNameResto"
  93.            android:layout_width="match_parent"
  94.            android:layout_height="wrap_content"
  95.            android:padding="15dp"
  96.            android:hint="Hotel Gcash Name"
  97.            android:inputType="text"/>
  98.  
  99.         <TextView
  100.            android:layout_width="wrap_content"
  101.            android:layout_height="wrap_content"
  102.            android:text="Deposit Form"
  103.            android:textSize="20sp"
  104.            android:layout_gravity="center_horizontal" />
  105.  
  106.         <EditText
  107.            android:id="@+id/yourGcashNameResto"
  108.            android:layout_width="match_parent"
  109.            android:layout_height="wrap_content"
  110.            android:hint="Your Gcash Name"
  111.            android:inputType="text"
  112.            android:padding="15dp" />
  113.  
  114.         <EditText
  115.            android:id="@+id/yourGcashNumberResto"
  116.            android:layout_width="match_parent"
  117.            android:layout_height="wrap_content"
  118.            android:padding="15dp"
  119.            android:hint="Your Gcash Number"
  120.            android:inputType="text"/>
  121.  
  122.         <EditText
  123.            android:id="@+id/referenceNumberResto"
  124.            android:layout_width="match_parent"
  125.            android:layout_height="wrap_content"
  126.            android:padding="15dp"
  127.            android:hint="Reference Number"
  128.            android:inputType="text"/>
  129.  
  130.         <!-- Screenshot of the Gcash Receipt -->
  131.         <TextView
  132.            android:layout_width="wrap_content"
  133.            android:layout_height="wrap_content"
  134.            android:text="Screenshot of Gcash Receipt"
  135.            android:textSize="16sp" />
  136.  
  137.         <ImageView
  138.            android:id="@+id/attachedImageViewResto"
  139.            android:layout_width="match_parent"
  140.            android:layout_height="wrap_content"
  141.            android:layout_gravity="center"
  142.            android:layout_marginTop="20dp"
  143.            android:layout_marginBottom="20dp"
  144.            android:scaleType="fitCenter"
  145.            android:visibility="gone" />
  146.  
  147.         <Button
  148.            android:id="@+id/attachPhotoButtonResto"
  149.            android:layout_width="wrap_content"
  150.            android:layout_height="wrap_content"
  151.            android:text="Attach Photo"/>
  152.  
  153.  
  154.         <Button
  155.            android:layout_width="wrap_content"
  156.            android:layout_height="wrap_content"
  157.            android:text="Submit"
  158.            android:id="@+id/submitButton"/>
  159.  
  160.     </LinearLayout>
  161. </ScrollView>
  162.  
Tags: Android
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement