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