| 1 | <ScrollView android:layout_width="fill_parent" |
| 2 | android:layout_height="fill_parent" |
| 3 | android:fillViewport="true" |
| 4 | xmlns:android="http://schemas.android.com/apk/res/android"> |
| 5 | |
| 6 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 7 | android:layout_width="match_parent" |
| 8 | android:layout_height="wrap_content" |
| 9 | android:paddingLeft="16dp" |
| 10 | android:paddingRight="16dp"> |
| 11 | |
| 12 | <TextView |
| 13 | android:layout_width="wrap_content" |
| 14 | android:layout_height="wrap_content" |
| 15 | android:text="@string/RegisterText" |
| 16 | android:id="@+id/login_register_info" |
| 17 | android:layout_marginTop="8dp" |
| 18 | android:textColor="#000000" |
| 19 | android:textSize="19dp"/> |
| 20 | |
| 21 | <EditText |
| 22 | android:layout_width="fill_parent" |
| 23 | android:layout_height="wrap_content" |
| 24 | android:id="@+id/login_first_name_field" |
| 25 | android:maxLines="1" |
| 26 | android:textSize="20dp" |
| 27 | android:imeOptions="actionNext|flagNoExtractUi" |
| 28 | android:layout_alignTop="@+id/login_avatar_button" |
| 29 | android:layout_toRightOf="@+id/login_avatar_button" |
| 30 | android:layout_marginLeft="12dp" |
| 31 | android:layout_marginTop="14dp" |
| 32 | android:hint="@string/FirstName" |
| 33 | android:lines="1" |
| 34 | android:singleLine="true" |
| 35 | android:capitalize="words"/> |
| 36 | |
| 37 | <EditText |
| 38 | android:layout_width="fill_parent" |
| 39 | android:layout_height="wrap_content" |
| 40 | android:id="@+id/login_last_name_field" |
| 41 | android:maxLines="1" |
| 42 | android:textSize="20dp" |
| 43 | android:imeOptions="actionNext|flagNoExtractUi" |
| 44 | android:layout_alignBottom="@+id/login_avatar_button" |
| 45 | android:layout_marginLeft="12dp" |
| 46 | android:layout_toRightOf="@+id/login_avatar_button" |
| 47 | android:hint="@string/LastName" |
| 48 | android:lines="1" |
| 49 | android:singleLine="true" |
| 50 | android:capitalize="words"/> |
| 51 | |
| 52 | <FrameLayout android:layout_width="108dp" android:layout_height="108dp" |
| 53 | android:layout_marginTop="20dp" |
| 54 | android:layout_below="@+id/login_register_info" |
| 55 | android:id="@+id/login_avatar_button"> |
| 56 | |
| 57 | <org.telegram.ui.Views.BackupImageView |
| 58 | android:id="@+id/settings_avatar_image" |
| 59 | android:layout_width="fill_parent" |
| 60 | android:layout_height="fill_parent" |
| 61 | android:src="@drawable/user_placeholder"/> |
| 62 | |
| 63 | <ImageButton android:id="@+id/settings_change_avatar_button" |
| 64 | android:background="@drawable/photo_spinner" |
| 65 | android:layout_width="fill_parent" |
| 66 | android:layout_height="fill_parent"/> |
| 67 | </FrameLayout> |
| 68 | |
| 69 | |
| 70 | </RelativeLayout> |
| 71 | |
| 72 | </ScrollView> |