item_coupon.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical">
  6. <include layout="@layout/view_divider" />
  7. <LinearLayout
  8. android:id="@+id/ll_coupon"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:background="@color/white"
  12. android:foreground="?attr/selectableItemBackground"
  13. android:orientation="horizontal"
  14. android:gravity="center_vertical"
  15. android:paddingTop="@dimen/activity_horizontal_margin_ss"
  16. android:paddingBottom="@dimen/activity_horizontal_margin_ss"
  17. android:paddingStart="@dimen/activity_horizontal_margin"
  18. android:paddingEnd="@dimen/activity_horizontal_margin">
  19. <ImageView
  20. android:id="@+id/iv_coupon"
  21. android:layout_width="64dp"
  22. android:layout_height="64dp"
  23. android:src="@mipmap/logo_gray"
  24. android:scaleType="centerCrop"/>
  25. <LinearLayout
  26. android:layout_width="match_parent"
  27. android:layout_height="wrap_content"
  28. android:minHeight="@dimen/height_tool_item"
  29. android:orientation="vertical"
  30. android:layout_marginStart="@dimen/margin_s"
  31. android:gravity="center_vertical">
  32. <TextView
  33. android:id="@+id/tv_coupon_title"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:text="搞笑表情包"
  37. android:textSize="@dimen/text_normal_p"
  38. android:textColor="@color/black_theme"
  39. android:textStyle="bold"/>
  40. <Space
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:minHeight="@dimen/margin_s"/>
  44. <TextView
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:layout_marginTop="@dimen/margin_sss"
  48. android:textColor="@color/gray_text_s"
  49. android:textSize="@dimen/text_normal_s"
  50. android:text="为表情包配字幕并下载制作的表情包"/>
  51. </LinearLayout>
  52. </LinearLayout>
  53. </LinearLayout>