list_item_notice_out.xml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:orientation="vertical">
  8. <RelativeLayout
  9. android:id="@+id/noticeLayout"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_gravity="right|end"
  13. android:background="@drawable/notice_out"
  14. android:layout_marginLeft="@dimen/message_bubble_margin_non_tail"
  15. android:layout_marginRight="@dimen/message_bubble_margin_tail">
  16. <TextView
  17. android:id="@+id/noticeText"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:textIsSelectable="true"
  21. android:textSize="@dimen/text_size_medium"
  22. android:textStyle="italic"
  23. tools:text="@string/introduction_response_accepted_sent"/>
  24. <TextView
  25. android:id="@+id/noticeTime"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginTop="@dimen/message_bubble_timestamp_margin"
  29. android:layout_alignParentLeft="true"
  30. android:layout_alignParentStart="true"
  31. android:layout_below="@+id/noticeText"
  32. android:textColor="@color/private_message_date"
  33. android:textSize="@dimen/text_size_tiny"
  34. tools:text="Dec 24, 13:37"/>
  35. <ImageView
  36. android:id="@+id/noticeStatus"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_alignBottom="@+id/noticeTime"
  40. android:layout_marginLeft="@dimen/margin_medium"
  41. android:layout_toEndOf="@+id/noticeTime"
  42. android:layout_toRightOf="@+id/noticeTime"
  43. tools:ignore="ContentDescription"
  44. tools:src="@drawable/message_delivered"/>
  45. </RelativeLayout>
  46. </LinearLayout>