| 5 | android:layout_width="fill_parent" |
| 6 | android:layout_height="wrap_content" |
| 7 | android:paddingTop="13dp" |
| 8 | android:paddingBottom="12dp"> |
| 9 |
| 10 | <FrameLayout |
| 11 | android:layout_width="64dp" |
| 12 | android:layout_height="64dp"> |
| 13 |
| 14 | <org.telegram.ui.Views.BackupImageView |
| 15 | android:id="@+id/settings_avatar_image" |
| 16 | android:layout_width="fill_parent" |
| 17 | android:layout_height="fill_parent"/> |
| 18 |
| 19 | <ImageButton |
| 20 | android:id="@+id/settings_change_avatar_button" |
| 21 | android:background="@drawable/photo_spinner" |
| 22 | android:layout_width="fill_parent" |
| 23 | android:layout_height="fill_parent"/> |
| 24 |
| 25 | </FrameLayout> |
| 26 |
| 27 | <LinearLayout |
| 28 | android:layout_gravity="center_vertical" |
| 29 | android:orientation="vertical" |
| 30 | android:layout_width="0dp" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_marginLeft="13dp" |
| 33 | android:layout_marginRight="4dp" |
| 34 | android:layout_marginBottom="1dp" |
| 35 | android:layout_weight="1.0"> |
| 36 |
| 37 | <TextView |
| 38 | android:textSize="21dp" |
| 39 | android:textColor="#333333" |
| 40 | android:ellipsize="end" |
| 41 | android:id="@+id/settings_name" |
| 42 | android:layout_width="wrap_content" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:lines="1" |
| 45 | android:singleLine="true" /> |
| 46 |
| 47 | <TextView |
| 48 | android:textSize="14dp" |
| 49 | android:textColor="#999999" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:layout_marginTop="4dp" |
| 53 | android:id="@+id/settings_online"/> |
| 54 |
| 55 | </LinearLayout> |
| 56 |
| 57 | <View |
| 58 | android:background="#e8e8e8" |
| 59 | android:layout_width="1dp" |
| 60 | android:layout_height="48dp" |
| 61 | android:layout_marginTop="4dp"/> |
| 62 |
| 63 | <ImageButton |
| 64 | android:id="@+id/settings_edit_name" |
| 65 | android:background="@drawable/list_selector" |
| 66 | android:clickable="true" |
| 67 | android:layout_width="48dp" |
| 68 | android:layout_height="48dp" |
| 69 | android:src="@drawable/ic_edit" |
| 70 | android:layout_marginTop="4dp"/> |
| 71 |
| 72 | </LinearLayout> |