hj_endcard_layout_por.xml 3.3 KB

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