item_image2.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/layout_view"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent">
  6. <ImageView
  7. android:id="@+id/image_full"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:layout_centerHorizontal="true"
  11. android:adjustViewBounds="true"
  12. android:scaleType="fitXY" />
  13. <LinearLayout
  14. android:layout_width="70dp"
  15. android:layout_height="80dp"
  16. android:layout_alignParentBottom="true"
  17. android:layout_centerHorizontal="true"
  18. android:background="@drawable/shape_white_solid_rectangle_2"
  19. android:orientation="vertical">
  20. <RelativeLayout
  21. android:layout_width="wrap_content"
  22. android:layout_height="0dp"
  23. android:layout_weight="8"
  24. android:paddingEnd="4dp"
  25. android:paddingStart="4dp"
  26. android:paddingTop="4dp">
  27. <ImageView
  28. android:id="@+id/image_bottom"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_centerInParent="true"
  32. android:src="@drawable/loading_01" />
  33. <ImageView
  34. android:layout_width="10dp"
  35. android:layout_height="10dp"
  36. android:layout_centerInParent="true"
  37. android:src="@mipmap/sheep_logo" />
  38. </RelativeLayout>
  39. <TextView
  40. android:id="@+id/image_bottom_tv"
  41. android:layout_width="match_parent"
  42. android:layout_height="0dp"
  43. android:layout_weight="1"
  44. android:layout_marginTop="-3dp"
  45. android:gravity="top|center_horizontal"
  46. android:text="扫我开始赚钱"
  47. android:textColor="#ff999999"
  48. android:textSize="8sp" />
  49. </LinearLayout>
  50. </RelativeLayout>