Advertisement
Guest User

Untitled

a guest
Oct 26th, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3.            xmlns:app="http://schemas.android.com/apk/res-auto"
  4.            android:layout_width="match_parent"
  5.            android:layout_height="match_parent"
  6.            android:background="@color/color_gray_background">
  7.  
  8.     <LinearLayout
  9.            android:layout_width="match_parent"
  10.            android:layout_height="wrap_content"
  11.            android:layout_marginLeft="@dimen/indent_medium"
  12.            android:layout_marginRight="@dimen/indent_medium"
  13.            android:orientation="vertical">
  14.  
  15.  
  16.         <com.github.siyamed.shapeimageview.CircularImageView
  17.                android:id="@+id/fragment_registration_person_info_add_photo"
  18.                android:layout_width="@dimen/user_photo_width_height"
  19.                android:layout_height="@dimen/user_photo_width_height"
  20.                android:layout_gravity="center"
  21.                android:layout_marginTop="@dimen/indent_medium"
  22.                android:padding="@dimen/indent_small"
  23.                android:src="@drawable/ic_user_default_image"
  24.                app:siBorderColor="@color/color_white"
  25.                app:siBorderWidth="4dp"/>
  26.  
  27.         <android.support.design.widget.TextInputLayout
  28.                android:layout_width="match_parent"
  29.                android:layout_height="wrap_content"
  30.                android:layout_marginTop="@dimen/indent_medium">
  31.  
  32.             <EditText
  33.                    android:id="@+id/fragment_registration_person_info_second_name"
  34.                    style="@style/Registration.Input"
  35.                    android:layout_width="match_parent"
  36.                    android:layout_height="wrap_content"
  37.                    android:hint="@string/reg_last_name"/>
  38.         </android.support.design.widget.TextInputLayout>
  39.  
  40.         <android.support.design.widget.TextInputLayout
  41.                android:layout_width="match_parent"
  42.                android:layout_height="wrap_content">
  43.  
  44.             <EditText
  45.                    android:id="@+id/fragment_registration_person_info_first_name"
  46.                    style="@style/Registration.Input"
  47.                    android:layout_width="match_parent"
  48.                    android:layout_height="wrap_content"
  49.                    android:hint="@string/reg_first_name"/>
  50.         </android.support.design.widget.TextInputLayout>
  51.  
  52.         <android.support.design.widget.TextInputLayout
  53.                android:layout_width="match_parent"
  54.                android:layout_height="wrap_content">
  55.  
  56.             <EditText
  57.                    android:id="@+id/fragment_registration_person_info_middle_name"
  58.                    style="@style/Registration.Input"
  59.                    android:layout_width="match_parent"
  60.                    android:layout_height="wrap_content"
  61.                    android:hint="@string/reg_second_name"/>
  62.         </android.support.design.widget.TextInputLayout>
  63.  
  64.         <TextView
  65.            android:layout_width="wrap_content"
  66.            android:layout_height="wrap_content"
  67.            android:padding="@dimen/indent_small"
  68.            android:text="@string/reg_gender"/>
  69.  
  70.         <RadioGroup
  71.            android:layout_width="wrap_content"
  72.            android:layout_height="wrap_content"
  73.            android:checkedButton="@+id/fragment_registration_person_info_male_radio"
  74.            android:orientation="horizontal">
  75.  
  76.             <RadioButton
  77.                android:id="@id/fragment_registration_person_info_male_radio"
  78.                android:layout_width="wrap_content"
  79.                android:layout_height="wrap_content"
  80.                android:checked="true"
  81.                android:text="@string/reg_man"/>
  82.  
  83.             <RadioButton
  84.                android:layout_width="wrap_content"
  85.                android:layout_height="wrap_content"
  86.                android:layout_marginLeft="@dimen/indent_small"
  87.                android:text="@string/reg_woman"/>
  88.         </RadioGroup>
  89.  
  90.         <Space
  91.            android:layout_width="wrap_content"
  92.            android:layout_height="@dimen/indent_small"/>
  93.  
  94.         <RadioGroup
  95.                android:id="@+id/fragment_registration_person_info_user_type_group"
  96.                android:checkedButton="@+id/fragment_registration_info_person_radio"
  97.                android:layout_width="wrap_content"
  98.                android:layout_height="wrap_content"
  99.                android:orientation="horizontal">
  100.  
  101.             <RadioButton
  102.                    android:id="@+id/fragment_registration_info_person_radio"
  103.                    android:layout_width="wrap_content"
  104.                    android:layout_height="wrap_content"
  105.                    android:layout_margin="@dimen/indent_medium"
  106.                    android:text="@string/reg_person"/>
  107.  
  108.             <RadioButton
  109.                    android:id="@+id/fragment_registration_info_company_radio"
  110.                    android:layout_width="wrap_content"
  111.                    android:layout_height="wrap_content"
  112.                    android:layout_margin="@dimen/indent_medium"
  113.                    android:text="@string/reg_company"/>
  114.         </RadioGroup>
  115.  
  116.         <android.support.design.widget.TextInputLayout
  117.                android:layout_width="match_parent"
  118.                android:layout_height="wrap_content">
  119.  
  120.             <EditText
  121.                    android:id="@+id/fragment_registration_person_info_company_name"
  122.                    style="@style/Registration.Input"
  123.                    android:layout_width="match_parent"
  124.                    android:layout_height="wrap_content"
  125.                    android:hint="@string/reg_name_of_company"/>
  126.         </android.support.design.widget.TextInputLayout>
  127.  
  128.         <TextView
  129.            android:layout_width="wrap_content"
  130.            android:layout_height="wrap_content"
  131.            android:padding="@dimen/indent_small"
  132.            android:text="@string/reg_work_schedule_text"/>
  133.  
  134.         <RadioGroup
  135.            android:layout_width="wrap_content"
  136.            android:layout_height="wrap_content"
  137.            android:checkedButton="@+id/fragment_registration_person_info_part_time_schedule"
  138.            android:orientation="vertical">
  139.  
  140.             <RadioButton
  141.                android:id="@id/fragment_registration_person_info_part_time_schedule"
  142.                android:layout_width="wrap_content"
  143.                android:layout_height="wrap_content"
  144.                android:checked="true"
  145.                android:text="@string/reg_part_time"/>
  146.  
  147.             <RadioButton
  148.                android:id="@+id/fragment_registration_person_info_full_time_schedule"
  149.                android:layout_width="wrap_content"
  150.                android:layout_height="wrap_content"
  151.                android:text="@string/reg_full_time"/>
  152.         </RadioGroup>
  153.  
  154.         <android.support.design.widget.TextInputLayout
  155.                android:layout_width="match_parent"
  156.                android:layout_height="wrap_content">
  157.  
  158.             <EditText
  159.                    android:id="@+id/fragment_registration_info_person_email"
  160.                    style="@style/Registration.Input"
  161.                    android:layout_width="match_parent"
  162.                    android:layout_height="wrap_content"
  163.                    android:hint="@string/reg_email"
  164.                    android:inputType="textEmailAddress"/>
  165.         </android.support.design.widget.TextInputLayout>
  166.  
  167.         <LinearLayout
  168.                android:layout_width="match_parent"
  169.                android:layout_height="wrap_content"
  170.                android:layout_marginBottom="@dimen/indent_medium"
  171.                android:layout_marginLeft="@dimen/indent_small"
  172.                android:layout_marginTop="@dimen/indent_medium"
  173.                android:orientation="horizontal">
  174.  
  175.             <Spinner
  176.                    android:id="@+id/fragment_registration_person_info_messenger_type"
  177.                    android:layout_width="match_parent"
  178.                    android:layout_height="wrap_content"
  179.                    android:layout_weight="2"
  180.                    android:entries="@array/messenger_list">
  181.  
  182.             </Spinner>
  183.  
  184.             <EditText
  185.                    android:id="@+id/fragment_registration_person_info_messenger_value"
  186.                    style="@style/Registration.Input"
  187.                    android:layout_width="match_parent"
  188.                    android:layout_height="wrap_content"
  189.                    android:layout_weight="1"
  190.                    android:hint="@string/reg_number"/>
  191.         </LinearLayout>
  192.  
  193.         <TextView
  194.                android:layout_width="wrap_content"
  195.                android:layout_height="wrap_content"
  196.                android:padding="@dimen/indent_small"
  197.                android:text="@string/reg_gender"/>
  198.  
  199.         <RadioGroup
  200.                android:id="@+id/fragment_registration_person_info_gender_group"
  201.                android:layout_width="wrap_content"
  202.                android:layout_height="wrap_content"
  203.                android:orientation="horizontal">
  204.  
  205.             <RadioButton
  206.                    android:id="@+id/fragment_registration_person_info_male_radio_button"
  207.                    android:layout_width="wrap_content"
  208.                    android:layout_height="wrap_content"
  209.                    android:layout_margin="@dimen/indent_medium"
  210.                    android:checked="true"
  211.                    android:text="@string/reg_man"/>
  212.  
  213.             <RadioButton
  214.                    android:id="@+id/fragment_registration_person_info_female_radio_button"
  215.                    android:layout_width="wrap_content"
  216.                    android:layout_height="wrap_content"
  217.                    android:layout_margin="@dimen/indent_medium"
  218.                    android:text="@string/reg_woman"/>
  219.         </RadioGroup>
  220.  
  221.         <TextView
  222.                style="@style/Registration.SubTitle"
  223.                android:layout_width="match_parent"
  224.                android:layout_height="wrap_content"
  225.                android:text="@string/passport_data"
  226.                android:textAllCaps="true"
  227.                android:textColor="@color/color_black"/>
  228.  
  229.         <LinearLayout
  230.                android:layout_width="match_parent"
  231.                android:layout_height="wrap_content"
  232.                android:orientation="horizontal">
  233.  
  234.             <android.support.design.widget.TextInputLayout
  235.                    android:layout_width="match_parent"
  236.                    android:layout_height="wrap_content"
  237.                    android:layout_weight="3">
  238.  
  239.                 <EditText
  240.                        android:id="@+id/fragment_registration_person_info_passport_series"
  241.                        android:layout_width="match_parent"
  242.                        android:layout_height="wrap_content"
  243.                        android:hint="@string/reg_passport_series"/>
  244.             </android.support.design.widget.TextInputLayout>
  245.  
  246.             <Space
  247.                    android:layout_width="@dimen/indent_medium"
  248.                    android:layout_height="wrap_content"/>
  249.  
  250.             <android.support.design.widget.TextInputLayout
  251.                    android:layout_width="match_parent"
  252.                    android:layout_height="wrap_content"
  253.                    android:layout_weight="1">
  254.  
  255.                 <EditText
  256.                        android:id="@+id/fragment_registration_person_info_passport_number"
  257.                        android:layout_width="match_parent"
  258.                        android:layout_height="wrap_content"
  259.                        android:hint="@string/reg_passport_number"
  260.                        android:inputType="number"/>
  261.             </android.support.design.widget.TextInputLayout>
  262.  
  263.         </LinearLayout>
  264.  
  265.         <android.support.design.widget.TextInputLayout
  266.                android:layout_width="match_parent"
  267.                android:layout_height="wrap_content">
  268.  
  269.             <EditText
  270.                    android:id="@+id/fragment_registration_person_info_birthday"
  271.                    android:layout_width="match_parent"
  272.                    android:layout_height="wrap_content"
  273.                    android:editable="false"
  274.                    android:hint="@string/reg_birth_day"
  275.                    android:inputType="none"/>
  276.         </android.support.design.widget.TextInputLayout>
  277.  
  278.         <com.wezom.dlv24.performer.ui.views.AddressButtonView_
  279.                android:id="@+id/fragment_registration_person_info_address"
  280.                layout="@layout/view_address_button"
  281.                android:layout_width="wrap_content"
  282.                android:layout_height="wrap_content"
  283.                android:layout_gravity="center_horizontal"
  284.                android:layout_marginBottom="@dimen/indent_medium"
  285.                android:layout_marginTop="@dimen/indent_medium"
  286.                app:address_title="@string/reg_select_address"/>
  287.  
  288.         <android.support.design.widget.TextInputLayout
  289.                android:layout_width="match_parent"
  290.                android:layout_height="wrap_content">
  291.  
  292.             <EditText
  293.                    android:id="@+id/fragment_registration_person_info_id_code"
  294.                    android:inputType="number"
  295.                    android:layout_width="match_parent"
  296.                    android:layout_height="wrap_content"
  297.                    android:hint="@string/reg_id_code"/>
  298.         </android.support.design.widget.TextInputLayout>
  299.  
  300.         <Space
  301.                android:layout_width="wrap_content"
  302.                android:layout_height="@dimen/indent_medium"/>
  303.  
  304.         <LinearLayout
  305.                android:id="@+id/fragment_registration_person_info_driver_license"
  306.                android:layout_width="match_parent"
  307.                android:layout_height="wrap_content"
  308.                android:orientation="vertical">
  309.  
  310.             <TextView
  311.                    android:layout_width="match_parent"
  312.                    android:layout_height="wrap_content"
  313.                    android:text="@string/reg_driver_license_photo"/>
  314.  
  315.             <Space
  316.                    android:layout_width="wrap_content"
  317.                    android:layout_height="@dimen/indent_medium"/>
  318.  
  319.             <android.support.v7.widget.RecyclerView
  320.                    android:id="@+id/fragment_registration_person_info_driver_license_recycler"
  321.                    android:layout_width="match_parent"
  322.                    android:layout_height="@dimen/fragment_registration_photo_select_recycler_height"/>
  323.         </LinearLayout>
  324.  
  325.  
  326.         <Button
  327.                android:id="@+id/fragment_registration_person_info_next_button"
  328.                style="@style/Registration.SignIn"
  329.                android:layout_width="match_parent"
  330.                android:layout_height="wrap_content"
  331.                android:layout_marginBottom="@dimen/indent_medium"
  332.                android:layout_marginLeft="@dimen/indent_large"
  333.                android:layout_marginRight="@dimen/indent_large"
  334.                android:layout_marginTop="@dimen/indent_medium"
  335.                android:background="@drawable/bg_edit_button_selector"
  336.                android:text="@string/next"/>
  337.  
  338.     </LinearLayout>
  339. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement