x7_act_base_right.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:id="@+id/rootView"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:ignore="MissingDefaultResource">
  8. <!--有公告的时候并且横屏的右侧关闭按钮-->
  9. <ImageView
  10. android:id="@+id/x7_right_close"
  11. android:layout_width="67dp"
  12. android:layout_height="67dp"
  13. android:layout_centerVertical="true"
  14. android:layout_toLeftOf="@+id/x7_right_arrow"
  15. android:clickable="true"
  16. android:paddingTop="10dp"
  17. android:paddingBottom="10dp"
  18. android:src="@drawable/x7_gonggao_cancell"
  19. android:visibility="gone" />
  20. <ImageView
  21. android:id="@+id/x7_right_arrow"
  22. android:layout_width="67dp"
  23. android:layout_height="46dp"
  24. android:layout_alignParentRight="true"
  25. android:layout_centerVertical="true"
  26. android:clickable="true"
  27. android:paddingTop="10dp"
  28. android:paddingBottom="10dp"
  29. android:src="@drawable/x7_title_right_arrow_port" />
  30. <ImageView
  31. android:id="@+id/x7_left_arrow"
  32. android:layout_width="67dp"
  33. android:layout_height="46dp"
  34. android:layout_alignParentLeft="true"
  35. android:layout_centerVertical="true"
  36. android:clickable="true"
  37. android:paddingTop="10dp"
  38. android:paddingBottom="10dp"
  39. android:src="@drawable/x7_title_left_arrow_port" />
  40. <!--有公告的时候并且横屏的左侧关闭按钮-->
  41. <ImageView
  42. android:id="@+id/x7_left_close"
  43. android:layout_width="67dp"
  44. android:layout_height="67dp"
  45. android:layout_centerVertical="true"
  46. android:layout_toRightOf="@+id/x7_left_arrow"
  47. android:clickable="true"
  48. android:paddingTop="10dp"
  49. android:paddingBottom="10dp"
  50. android:src="@drawable/x7_gonggao_cancell"
  51. android:visibility="gone" />
  52. <LinearLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="match_parent"
  55. android:gravity="right"
  56. android:orientation="horizontal"
  57. android:weightSum="2">
  58. <LinearLayout
  59. android:id="@+id/base_ll"
  60. android:layout_width="0dp"
  61. android:layout_height="match_parent"
  62. android:layout_weight="1"
  63. android:orientation="vertical"
  64. android:visibility="visible">
  65. <FrameLayout
  66. android:id="@+id/base_fl"
  67. android:layout_width="match_parent"
  68. android:layout_height="match_parent"
  69. android:background="@color/x7_white"/>
  70. </LinearLayout>
  71. </LinearLayout>
  72. <View
  73. android:id="@+id/line_center"
  74. android:layout_width="1px"
  75. android:layout_height="match_parent"
  76. android:layout_centerInParent="true"/>
  77. <TextView
  78. android:id="@+id/closeHint_tv"
  79. android:layout_width="80dp"
  80. android:layout_height="match_parent"
  81. android:layout_alignRight="@+id/line_center"
  82. android:clickable="true"
  83. android:gravity="center"
  84. android:textColor="@color/x7_white"
  85. android:textSize="17dp" />
  86. </RelativeLayout>