| 5 | android:id="@+id/container_view" |
| 6 | android:orientation="vertical"> |
| 7 |
| 8 | <FrameLayout android:layout_width="fill_parent" |
| 9 | android:layout_height="0dp" |
| 10 | android:layout_weight="1" |
| 11 | android:background="#ffffff"> |
| 12 |
| 13 | <org.telegram.ui.Views.BackupImageView android:layout_height="48dp" |
| 14 | android:layout_width="48dp" |
| 15 | android:id="@+id/avatar_image" |
| 16 | android:layout_gravity="right|top"/> |
| 17 |
| 18 | <FrameLayout android:layout_width="fill_parent" |
| 19 | android:layout_height="fill_parent" |
| 20 | android:layout_marginLeft="40dp" |
| 21 | android:orientation="vertical" |
| 22 | android:layout_marginRight="56dp" |
| 23 | android:layout_gravity="top|right" |
| 24 | android:id="@+id/text_layout"> |
| 25 |
| 26 | <TextView android:layout_height="wrap_content" |
| 27 | android:layout_width="wrap_content" |
| 28 | android:gravity="right|center" |
| 29 | android:textSize="15dp" |
| 30 | android:textColor="#000000" |
| 31 | android:id="@+id/name_text_view" |
| 32 | android:paddingTop="4dp" |
| 33 | android:ellipsize="end" |
| 34 | android:layout_gravity="top|right" |
| 35 | android:singleLine="true"/> |
| 36 |
| 37 | <TextView android:layout_height="wrap_content" |
| 38 | android:layout_width="wrap_content" |
| 39 | android:gravity="right|center" |
| 40 | android:textColor="#000000" |
| 41 | android:textSize="15dp" |
| 42 | android:id="@+id/message_text_view" |
| 43 | android:paddingTop="24dp" |
| 44 | android:ellipsize="end" |
| 45 | android:layout_gravity="top|right" |
| 46 | android:singleLine="true"/> |
| 47 |
| 48 | </FrameLayout> |
| 49 |
| 50 | <ImageView android:layout_height="40dp" |
| 51 | android:layout_width="40dp" |
| 52 | android:layout_gravity="left|center" |
| 53 | android:src="@drawable/ic_profile_cross" |
| 54 | android:scaleType="center" |
| 55 | android:id="@+id/close_button"/> |
| 56 |
| 57 | </FrameLayout> |
| 58 |
| 59 | </org.telegram.ui.Views.NotificationView> |
| 60 |