Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:app1="http://schemas.android.com/tools"
- android:orientation="vertical"
- android:fillViewport="true">
- <androidx.appcompat.widget.Toolbar
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:elevation="5dp"
- android:background="@color/basecolor">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/back"
- android:contentDescription="Back"
- android:onClick="goBack"
- android:clickable="true"
- android:focusable="true"
- android:id="@+id/backButton" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:id="@+id/recipientNameTextView"
- android:layout_weight="1"
- android:text="Edit Your Details"
- android:textSize="22sp"
- android:layout_marginStart="8dp"
- android:textStyle="bold"
- android:gravity="start"
- android:textColor="@color/white" />
- </LinearLayout>
- </androidx.appcompat.widget.Toolbar>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="16dp">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:layout_height="wrap_content">
- <androidx.viewpager2.widget.ViewPager2
- android:id="@+id/viewPager"
- android:layout_width="match_parent"
- android:layout_height="300dp"
- android:background="@drawable/image_placeholder">
- </androidx.viewpager2.widget.ViewPager2>
- <LinearLayout
- android:id="@+id/dotsLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:orientation="horizontal"/>
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:baselineAlignBottom="false"
- android:clickable="true"
- app:fabSize="normal"
- android:src="@drawable/add_photo"
- android:id="@+id/uploadButton"
- android:layout_gravity="end"
- android:layout_marginTop="255dp"
- android:layout_marginStart="275dp"
- android:backgroundTint="@color/contrastcolor2"/>
- </RelativeLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginVertical="5dp"
- android:hint="Hotel's Name">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/hotelNameET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginVertical="5dp"
- android:hint="Location">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/hotelAddET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- <TextView
- android:id="@+id/tvClickableLink"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/how_to_get_latitude_and_longitude_click_here"
- />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_gravity="end"
- android:layout_height="wrap_content"
- android:layout_marginVertical="5dp"
- android:hint="Latitude">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/latitudeET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginRight="3dp"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="numberDecimal" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_gravity="end"
- android:layout_height="wrap_content"
- android:layout_marginLeft="3dp"
- android:layout_marginVertical="5dp"
- android:hint="Longitude">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/longitudeET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="numberDecimal" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Description"
- android:layout_marginVertical="5dp"
- app:counterMaxLength="400">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/hotelDescET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="textMultiLine" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:layout_marginVertical="5dp"
- android:hint="Contact Number">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/hotelContactET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:textSize="18sp"
- android:inputType="phone" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginVertical="5dp"
- android:hint="Email Address">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/hotelEmailET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:padding="22dp"
- android:inputType="textEmailAddress" />
- </com.google.android.material.textfield.TextInputLayout>
- <LinearLayout
- android:id="@+id/roomTypesLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/roomTypesRecyclerView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp" />
- <LinearLayout
- android:id="@+id/roomTypeEntryLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:hint="Room Type">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/roomtypeET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Please provide the pricing for each room type"/>
- <androidx.appcompat.widget.AppCompatButton
- android:layout_width="wrap_content"
- android:layout_height="50dp"
- android:text="Add Room Type"
- android:id="@+id/addRoomTypeBtn"
- android:textSize="15sp"
- android:padding="7dp"
- android:textColor="@color/textcolor"
- android:layout_marginTop="8dp"
- android:layout_marginRight="10dp"
- android:layout_marginLeft="10dp"
- android:layout_gravity="center"
- android:background="@drawable/gradient3" />
- </LinearLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Add Amenity">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/amenityET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="22dp"
- android:inputType="text" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Cancellation Policy"
- app:counterEnabled="true">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/cancellationPolicyET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:padding="22dp"
- android:inputType="textMultiLine" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Gcash Number"
- app:counterEnabled="true">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/gcashNumber"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:padding="22dp"
- android:inputType="textMultiLine" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Gcash Name"
- app:counterEnabled="true">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/gcashName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:padding="22dp"
- android:inputType="textMultiLine" />
- </com.google.android.material.textfield.TextInputLayout>
- <com.google.android.material.textfield.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="Set reservation fee"
- app:counterEnabled="true">
- <com.google.android.material.textfield.TextInputEditText
- android:id="@+id/reservationFeeET"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="18sp"
- android:padding="22dp"
- android:inputType="textMultiLine" />
- </com.google.android.material.textfield.TextInputLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <androidx.appcompat.widget.AppCompatButton
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="50dp"
- android:layout_gravity="start"
- android:gravity="center"
- android:text="Save Changes"
- android:id="@+id/postButton"
- android:textSize="15sp"
- android:padding="7dp"
- android:textColor="@color/white"
- android:layout_marginTop="8dp"
- android:layout_marginRight="10dp"
- android:layout_marginLeft="10dp"
- android:background="@drawable/gradient4" />
- <androidx.appcompat.widget.AppCompatButton
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="50dp"
- android:layout_gravity="start"
- android:gravity="center"
- android:text="Cancel"
- android:id="@+id/cancelButton"
- android:textSize="15sp"
- android:padding="7dp"
- android:onClick="goBack"
- android:textColor="@color/white"
- android:layout_marginTop="8dp"
- android:layout_marginRight="10dp"
- android:layout_marginLeft="10dp"
- android:background="@drawable/gradient4" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement