hj_endcard_layout_lands.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/hj_lands_rl_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="#ccffffff"
  7. android:orientation="vertical">
  8. <RelativeLayout
  9. android:layout_width="300dp"
  10. android:layout_height="match_parent"
  11. android:layout_alignParentRight="true">
  12. <ImageView
  13. android:id="@+id/iv_center"
  14. android:layout_width="300dp"
  15. android:layout_height="match_parent"
  16. android:background="#99666666"
  17. />
  18. <ImageView
  19. android:id="@+id/hj_lands_iv_icon"
  20. android:layout_width="60dp"
  21. android:layout_height="60dp"
  22. android:layout_alignParentRight="true"
  23. android:layout_alignTop="@+id/iv_center"
  24. android:layout_marginRight="120dp"
  25. android:layout_marginTop="25dp"
  26. />
  27. <ImageView
  28. android:id="@+id/hj_lands_iv_close"
  29. android:layout_width="30dp"
  30. android:layout_height="30dp"
  31. android:layout_alignParentRight="true"
  32. android:layout_margin="30dp"
  33. android:src="@drawable/hj_video_close"
  34. />
  35. <TextView
  36. android:id="@+id/hj_lands_tv_title"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_below="@+id/hj_lands_iv_icon"
  40. android:layout_centerHorizontal="true"
  41. android:layout_marginLeft="20dp"
  42. android:layout_marginRight="20dp"
  43. android:layout_marginTop="20dp"
  44. android:ellipsize="end"
  45. android:maxLines="2"
  46. android:text="更多精彩 请点击"
  47. android:textColor="#ffffff"
  48. android:textSize="24sp"
  49. />
  50. <TextView
  51. android:id="@+id/hj_lands_tv_sub_title"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_below="@+id/hj_lands_tv_title"
  55. android:layout_centerHorizontal="true"
  56. android:layout_marginLeft="20dp"
  57. android:layout_marginRight="20dp"
  58. android:layout_marginTop="20dp"
  59. android:ellipsize="end"
  60. android:maxLines="2"
  61. android:textColor="#ffffff"
  62. android:textSize="18sp"/>
  63. <TextView
  64. android:id="@+id/hj_lands_tv_detail"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_alignBottom="@+id/iv_center"
  68. android:layout_centerHorizontal="true"
  69. android:layout_marginBottom="20dp"
  70. android:background="@drawable/hj_corner_blue"
  71. android:gravity="center"
  72. android:paddingBottom="10dp"
  73. android:paddingLeft="20dp"
  74. android:paddingRight="20dp"
  75. android:paddingTop="10dp"
  76. android:text="查看详情"
  77. android:textColor="#ffffff"
  78. />
  79. </RelativeLayout>
  80. </RelativeLayout>