Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/color_gray_background">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/indent_medium"
- android:layout_marginRight="@dimen/indent_medium"
- android:orientation="vertical">
- <com.github.siyamed.shapeimageview.CircularImageView
- android:id="@+id/fragment_registration_person_info_add_photo"
- android:layout_width="@dimen/user_photo_width_height"
- android:layout_height="@dimen/user_photo_width_height"
- android:layout_gravity="center"
- android:layout_marginTop="@dimen/indent_medium"
- android:padding="@dimen/indent_small"
- android:src="@drawable/ic_user_default_image"
- app:siBorderColor="@color/color_white"
- app:siBorderWidth="4dp"/>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/indent_medium">
- <EditText
- android:id="@+id/fragment_registration_person_info_second_name"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_last_name"/>
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_person_info_first_name"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_first_name"/>
- </android.support.design.widget.TextInputLayout>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_person_info_middle_name"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_second_name"/>
- </android.support.design.widget.TextInputLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/indent_small"
- android:text="@string/reg_gender"/>
- <RadioGroup
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checkedButton="@+id/fragment_registration_person_info_male_radio"
- android:orientation="horizontal">
- <RadioButton
- android:id="@id/fragment_registration_person_info_male_radio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:text="@string/reg_man"/>
- <RadioButton
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/indent_small"
- android:text="@string/reg_woman"/>
- </RadioGroup>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="@dimen/indent_small"/>
- <RadioGroup
- android:id="@+id/fragment_registration_person_info_user_type_group"
- android:checkedButton="@+id/fragment_registration_info_person_radio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <RadioButton
- android:id="@+id/fragment_registration_info_person_radio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/indent_medium"
- android:text="@string/reg_person"/>
- <RadioButton
- android:id="@+id/fragment_registration_info_company_radio"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/indent_medium"
- android:text="@string/reg_company"/>
- </RadioGroup>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_person_info_company_name"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_name_of_company"/>
- </android.support.design.widget.TextInputLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/indent_small"
- android:text="@string/reg_work_schedule_text"/>
- <RadioGroup
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checkedButton="@+id/fragment_registration_person_info_part_time_schedule"
- android:orientation="vertical">
- <RadioButton
- android:id="@id/fragment_registration_person_info_part_time_schedule"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:checked="true"
- android:text="@string/reg_part_time"/>
- <RadioButton
- android:id="@+id/fragment_registration_person_info_full_time_schedule"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/reg_full_time"/>
- </RadioGroup>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_info_person_email"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_email"
- android:inputType="textEmailAddress"/>
- </android.support.design.widget.TextInputLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/indent_medium"
- android:layout_marginLeft="@dimen/indent_small"
- android:layout_marginTop="@dimen/indent_medium"
- android:orientation="horizontal">
- <Spinner
- android:id="@+id/fragment_registration_person_info_messenger_type"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="2"
- android:entries="@array/messenger_list">
- </Spinner>
- <EditText
- android:id="@+id/fragment_registration_person_info_messenger_value"
- style="@style/Registration.Input"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:hint="@string/reg_number"/>
- </LinearLayout>
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="@dimen/indent_small"
- android:text="@string/reg_gender"/>
- <RadioGroup
- android:id="@+id/fragment_registration_person_info_gender_group"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <RadioButton
- android:id="@+id/fragment_registration_person_info_male_radio_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/indent_medium"
- android:checked="true"
- android:text="@string/reg_man"/>
- <RadioButton
- android:id="@+id/fragment_registration_person_info_female_radio_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="@dimen/indent_medium"
- android:text="@string/reg_woman"/>
- </RadioGroup>
- <TextView
- style="@style/Registration.SubTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/passport_data"
- android:textAllCaps="true"
- android:textColor="@color/color_black"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="3">
- <EditText
- android:id="@+id/fragment_registration_person_info_passport_series"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_passport_series"/>
- </android.support.design.widget.TextInputLayout>
- <Space
- android:layout_width="@dimen/indent_medium"
- android:layout_height="wrap_content"/>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1">
- <EditText
- android:id="@+id/fragment_registration_person_info_passport_number"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_passport_number"
- android:inputType="number"/>
- </android.support.design.widget.TextInputLayout>
- </LinearLayout>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_person_info_birthday"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:editable="false"
- android:hint="@string/reg_birth_day"
- android:inputType="none"/>
- </android.support.design.widget.TextInputLayout>
- <com.wezom.dlv24.performer.ui.views.AddressButtonView_
- android:id="@+id/fragment_registration_person_info_address"
- layout="@layout/view_address_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginBottom="@dimen/indent_medium"
- android:layout_marginTop="@dimen/indent_medium"
- app:address_title="@string/reg_select_address"/>
- <android.support.design.widget.TextInputLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <EditText
- android:id="@+id/fragment_registration_person_info_id_code"
- android:inputType="number"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/reg_id_code"/>
- </android.support.design.widget.TextInputLayout>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="@dimen/indent_medium"/>
- <LinearLayout
- android:id="@+id/fragment_registration_person_info_driver_license"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/reg_driver_license_photo"/>
- <Space
- android:layout_width="wrap_content"
- android:layout_height="@dimen/indent_medium"/>
- <android.support.v7.widget.RecyclerView
- android:id="@+id/fragment_registration_person_info_driver_license_recycler"
- android:layout_width="match_parent"
- android:layout_height="@dimen/fragment_registration_photo_select_recycler_height"/>
- </LinearLayout>
- <Button
- android:id="@+id/fragment_registration_person_info_next_button"
- style="@style/Registration.SignIn"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/indent_medium"
- android:layout_marginLeft="@dimen/indent_large"
- android:layout_marginRight="@dimen/indent_large"
- android:layout_marginTop="@dimen/indent_medium"
- android:background="@drawable/bg_edit_button_selector"
- android:text="@string/next"/>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement