item_wx_share.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  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. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="vertical"
  12. android:gravity="center_horizontal"
  13. android:padding="@dimen/dp_10">
  14. <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
  15. android:layout_width="wrap_content"
  16. app:qmui_radius="@dimen/dp_16"
  17. app:qmui_backgroundColor="@color/white"
  18. app:qmui_borderColor="@color/translucent"
  19. android:gravity="center"
  20. android:layout_height="wrap_content">
  21. <androidx.appcompat.widget.AppCompatImageView
  22. android:id="@+id/img"
  23. android:layout_width="123dp"
  24. android:layout_height="123dp"
  25. android:layout_gravity="center_horizontal"
  26. android:scaleType="fitXY"
  27. tools:src="@drawable/bg_need_error" />
  28. </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_marginLeft="50dp"
  33. android:layout_marginTop="44dp"
  34. android:layout_marginRight="50dp"
  35. android:orientation="horizontal">
  36. <LinearLayout
  37. android:id="@+id/ll_wx"
  38. android:layout_width="0dp"
  39. android:layout_height="wrap_content"
  40. android:layout_weight="1"
  41. android:orientation="vertical"
  42. android:gravity="center">
  43. <ImageView
  44. android:layout_width="41dp"
  45. android:layout_height="41dp"
  46. android:src="@drawable/share_wx"/>
  47. <TextView
  48. android:textColor="@color/text_title"
  49. android:textSize="10sp"
  50. android:text="微信"
  51. android:layout_marginTop="4dp"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"/>
  54. </LinearLayout>
  55. <LinearLayout
  56. android:id="@+id/ll_share_one"
  57. android:layout_width="0dp"
  58. android:layout_height="wrap_content"
  59. android:layout_weight="1"
  60. android:orientation="vertical"
  61. android:gravity="center">
  62. <ImageView
  63. android:layout_width="41dp"
  64. android:layout_height="41dp"
  65. android:src="@drawable/share_friends"/>
  66. <TextView
  67. android:textColor="@color/text_title"
  68. android:textSize="10sp"
  69. android:text="微信好友"
  70. android:layout_marginTop="4dp"
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"/>
  73. </LinearLayout>
  74. <LinearLayout
  75. android:id="@+id/ll_link"
  76. android:layout_width="0dp"
  77. android:layout_height="wrap_content"
  78. android:layout_weight="1"
  79. android:orientation="vertical"
  80. android:gravity="center">
  81. <ImageView
  82. android:layout_width="41dp"
  83. android:layout_height="41dp"
  84. android:src="@drawable/share_link"/>
  85. <TextView
  86. android:textColor="@color/text_title"
  87. android:textSize="10sp"
  88. android:text="复制链接"
  89. android:layout_marginTop="4dp"
  90. android:layout_width="wrap_content"
  91. android:layout_height="wrap_content"/>
  92. </LinearLayout>
  93. <LinearLayout
  94. android:layout_width="0dp"
  95. android:layout_height="wrap_content"
  96. android:layout_weight="1"
  97. android:visibility="gone"
  98. android:gravity="center">
  99. <ImageView
  100. android:id="@+id/iv_share_three"
  101. android:layout_width="41dp"
  102. android:layout_height="41dp"
  103. android:src="@drawable/share_qq"></ImageView>
  104. </LinearLayout>
  105. <LinearLayout
  106. android:id="@+id/ll_save"
  107. android:layout_width="0dp"
  108. android:layout_height="wrap_content"
  109. android:layout_weight="1"
  110. android:orientation="vertical"
  111. android:gravity="center">
  112. <ImageView
  113. android:layout_width="41dp"
  114. android:layout_height="41dp"
  115. android:src="@drawable/share_save"/>
  116. <TextView
  117. android:textColor="@color/text_title"
  118. android:textSize="10sp"
  119. android:text="下载图片"
  120. android:layout_marginTop="4dp"
  121. android:layout_width="wrap_content"
  122. android:layout_height="wrap_content"/>
  123. </LinearLayout>
  124. </LinearLayout>
  125. <TextView
  126. android:id="@+id/tv_close"
  127. android:layout_width="match_parent"
  128. android:layout_height="46dp"
  129. android:layout_marginStart="30dp"
  130. android:layout_marginTop="22dp"
  131. android:layout_marginEnd="30dp"
  132. android:layout_marginBottom="40dp"
  133. android:background="@drawable/bg_logo_but"
  134. android:gravity="center"
  135. android:text="取消"
  136. android:textColor="@color/white"
  137. android:textSize="20sp" />
  138. </LinearLayout>
  139. </LinearLayout>