item_annex_image.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:layout_width="wrap_content"
  5. android:layout_height="wrap_content"
  6. android:layout_margin="10dp">
  7. <RelativeLayout
  8. android:id="@+id/rl_image"
  9. android:layout_width="120dp"
  10. android:layout_height="80dp"
  11. >
  12. <ImageView
  13. android:id="@+id/iv_fujiantu"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:src="@drawable/tupian"
  17. />
  18. <ImageView
  19. android:id="@+id/iv_cancel"
  20. android:layout_width="25dp"
  21. android:layout_height="25dp"
  22. android:src="@drawable/ic_delete"
  23. android:layout_alignParentEnd="true"
  24. />
  25. </RelativeLayout>
  26. <ImageView
  27. android:visibility="gone"
  28. android:id="@+id/iv_zengjiatu"
  29. android:src="@drawable/zengjiatu"
  30. android:layout_width="120dp"
  31. android:layout_height="80dp"
  32. android:padding="12dp"
  33. />
  34. </RelativeLayout>