item_photo_selection.xml 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="wrap_content"
  5. android:layout_height="wrap_content"
  6. android:background="@color/white"
  7. android:padding="5dp">
  8. <TextView
  9. android:id="@+id/tv_meg"
  10. android:layout_width="95dp"
  11. android:layout_height="95dp"
  12. android:background="@drawable/ic_bgm_photo_add"
  13. android:gravity="center"
  14. android:text="+"
  15. android:textColor="@color/purple_e0"
  16. android:textSize="45sp" />
  17. <com.makeramen.roundedimageview.RoundedImageView
  18. android:id="@+id/img_show"
  19. android:layout_width="95dp"
  20. android:layout_height="95dp"
  21. android:scaleType="fitXY"
  22. />
  23. <TextView
  24. android:id="@+id/tv_delete"
  25. android:layout_width="18dp"
  26. android:layout_height="18dp"
  27. android:layout_marginTop="2dp"
  28. android:layout_marginLeft="80dp"
  29. android:background="@mipmap/icon_dele"
  30. android:visibility="gone" />
  31. </RelativeLayout>