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