nim_message_item_snapchat.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content">
  5. <FrameLayout
  6. android:id="@+id/message_item_snap_chat_body"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content">
  9. <ImageView
  10. android:id="@+id/message_item_snap_chat_image"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_gravity="center_vertical"
  14. android:gravity="center"
  15. android:padding="0dip"
  16. android:scaleType="centerCrop" />
  17. <include layout="@layout/nim_message_item_thumb_progress_bar_text" />
  18. </FrameLayout>
  19. <RelativeLayout
  20. android:id="@+id/message_item_tips_layout"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_gravity="bottom">
  24. <TextView
  25. android:id="@+id/message_item_snap_chat_readed"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_alignRight="@+id/message_item_snap_chat_tips_label"
  29. android:layout_marginBottom="3dip"
  30. android:layout_marginLeft="3dp"
  31. android:background="@color/transparent"
  32. android:text="@string/readed"
  33. android:textColor="#666666"
  34. android:textSize="12sp"
  35. android:visibility="gone"/>
  36. <TextView
  37. android:id="@+id/message_item_snap_chat_tips_label"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_below="@id/message_item_snap_chat_readed"
  41. android:layout_marginLeft="3dp"
  42. android:layout_marginRight="3dp"
  43. android:paddingBottom="3dp"
  44. android:text="@string/snapchat_longclick_to_view"
  45. android:textColor="#666666"
  46. android:textSize="12sp" />
  47. </RelativeLayout>
  48. </LinearLayout>