| 5 | android:layout_gravity="top"> |
| 6 |
| 7 | <LinearLayout |
| 8 | android:layout_width="fill_parent" |
| 9 | android:layout_height="wrap_content" |
| 10 | android:orientation="vertical" |
| 11 | android:paddingLeft="16dp" |
| 12 | android:paddingRight="16dp"> |
| 13 |
| 14 | <LinearLayout |
| 15 | android:gravity="center_vertical" |
| 16 | android:orientation="horizontal" |
| 17 | android:layout_width="fill_parent" |
| 18 | android:layout_height="wrap_content" |
| 19 | android:paddingTop="12dp" |
| 20 | android:paddingBottom="12dp"> |
| 21 |
| 22 | <org.telegram.ui.Views.BackupImageView |
| 23 | android:id="@+id/settings_avatar_image" |
| 24 | android:layout_width="64dp" |
| 25 | android:layout_height="64dp"/> |
| 26 |
| 27 | <LinearLayout |
| 28 | android:layout_gravity="center_vertical" |
| 29 | android:orientation="vertical" |
| 30 | android:layout_width="fill_parent" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_marginLeft="13dp" |
| 33 | android:layout_marginBottom="1dp"> |
| 34 |
| 35 | <TextView |
| 36 | android:textSize="21dp" |
| 37 | android:textColor="#333333" |
| 38 | android:ellipsize="end" |
| 39 | android:id="@+id/settings_name" |
| 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:lines="1" |
| 43 | android:singleLine="true"/> |
| 44 |
| 45 | <TextView |
| 46 | android:textSize="14dp" |
| 47 | android:textColor="#999999" |
| 48 | android:layout_width="wrap_content" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_marginTop="4dp" |
| 51 | android:id="@+id/settings_online"/> |
| 52 |
| 53 | </LinearLayout> |
| 54 |
| 55 | </LinearLayout> |
| 56 |
| 57 | <EditText |
| 58 | android:textSize="19dp" |
| 59 | android:textColorHint="#a3a3a3" |
| 60 | android:layout_gravity="center_vertical" |
| 61 | android:id="@+id/first_name_field" |
| 62 | android:paddingBottom="15dp" |
| 63 | android:layout_width="fill_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:layout_marginTop="15dp" |
| 66 | android:hint="@string/FirstName" |
| 67 | android:lines="1" |
| 68 | android:singleLine="true" |
| 69 | android:inputType="textCapSentences|textAutoCorrect" |
| 70 | android:imeOptions="actionNext" |
| 71 | android:paddingLeft="15dp" |
| 72 | android:paddingRight="15dp" |
| 73 | android:textCursorDrawable="@null" |
| 74 | android:textColor="#000000"/> |
| 75 |
| 76 | <EditText |
| 77 | android:textSize="19dp" |
| 78 | android:textColorHint="#a3a3a3" |
| 79 | android:layout_gravity="center_vertical" |
| 80 | android:id="@+id/last_name_field" |
| 81 | android:paddingBottom="15dp" |
| 82 | android:layout_width="fill_parent" |
| 83 | android:layout_height="wrap_content" |
| 84 | android:layout_marginTop="10dp" |
| 85 | android:hint="@string/LastName" |
| 86 | android:lines="1" |
| 87 | android:singleLine="true" |
| 88 | android:inputType="textCapSentences|textAutoCorrect" |
| 89 | android:imeOptions="actionDone" |
| 90 | android:paddingLeft="15dp" |
| 91 | android:paddingRight="15dp" |
| 92 | android:textCursorDrawable="@null" |
| 93 | android:textColor="#000000" |
| 94 | android:layout_marginBottom="16dp"/> |
| 95 |
| 96 | </LinearLayout> |
| 97 |
| 98 | </ScrollView> |