123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357 |
- <?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"
- android:background="@color/white"
- android:orientation="vertical">
- <include
- layout="@layout/layout_title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" />
- <ScrollView
- android:id="@+id/parent_scroll"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_marginTop="@dimen/common_padding"
- android:layout_weight="1"
- android:scrollbars="none">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding_heavy"
- android:layout_marginTop="@dimen/common_padding"
- android:layout_marginEnd="@dimen/common_padding_heavy"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/hotel_name_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/hotel_name"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/hotel_name"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:importantForAutofill="no"
- android:inputType="text"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/located_city"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/hotel_location"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:importantForAutofill="no"
- android:inputType="text"
- android:singleLine="true"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="vertical">
- <TextView
- android:id="@+id/hotel_address_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/common_padding"
- android:text="@string/hotel_location"
- android:textSize="@dimen/text_size_medium" />
- <com.pan_american.android.util.ScrollEditText
- android:id="@+id/hotel_address"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/hotel_tel"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/hotel_phone"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:importantForAutofill="no"
- android:inputType="phone"
- android:singleLine="true"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/fax_number"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/hotel_fax"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:importantForAutofill="no"
- android:inputType="text"
- android:singleLine="true"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/hotel_level_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/hotel_level"
- android:textSize="@dimen/text_size_medium" />
- <TextView
- android:id="@+id/hotel_level"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_select"
- android:singleLine="true"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/contacts"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/contacts_name"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:importantForAutofill="no"
- android:inputType="text"
- android:singleLine="true"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/contacts_phone"
- android:textSize="@dimen/text_size_medium" />
- <EditText
- android:id="@+id/contacts_phone"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/common_padding"
- android:layout_weight="1"
- android:background="@color/white"
- android:gravity="end"
- android:hint="@string/please_input"
- android:inputType="phone"
- android:singleLine="true"
- android:textColor="@color/text_color"
- android:textColorHint="@color/hint_text_color"
- android:textSize="@dimen/text_size_medium" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/line"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="@dimen/common_padding"
- android:background="@color/line_color" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/common_padding"
- android:layout_marginBottom="@dimen/common_padding"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/common_padding"
- android:text="@string/other_info"
- android:textSize="@dimen/text_size_medium" />
- <com.pan_american.android.util.ScrollEditText
- android:id="@+id/other_info"
- android:layout_width="match_parent"
- android:layout_height="120dp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/button_height"
- android:layout_marginTop="@dimen/common_padding_huge"
- android:layout_marginBottom="50dp"
- android:background="@drawable/shape_corner_solid_blue"
- android:orientation="horizontal">
- <com.pan_american.android.util.CommitButton
- android:id="@+id/commit"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <ProgressBar
- android:id="@+id/update_loading"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="@dimen/common_padding_small"
- android:indeterminateTint="@color/white"
- android:visibility="gone" />
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
|