x7_act_base_left.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. <ImageView
  9. android:id="@+id/x7_right_arrow"
  10. android:layout_width="67dp"
  11. android:layout_height="46dp"
  12. android:layout_alignParentRight="true"
  13. android:layout_centerVertical="true"
  14. android:clickable="true"
  15. android:paddingTop="10dp"
  16. android:paddingBottom="10dp"
  17. android:src="@drawable/x7_title_right_arrow_port" />
  18. <!--有公告的时候并且横屏的右侧关闭按钮-->
  19. <ImageView
  20. android:id="@+id/x7_right_close"
  21. android:layout_width="67dp"
  22. android:layout_height="67dp"
  23. android:layout_centerVertical="true"
  24. android:layout_toLeftOf="@+id/x7_right_arrow"
  25. android:clickable="true"
  26. android:paddingTop="10dp"
  27. android:paddingBottom="10dp"
  28. android:src="@drawable/x7_gonggao_cancell"
  29. android:visibility="gone" />
  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="left"
  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. <FrameLayout
  65. android:id="@+id/base_fl"
  66. android:layout_width="match_parent"
  67. android:layout_height="match_parent"
  68. android:background="@color/x7_white"/>
  69. </LinearLayout>
  70. </LinearLayout>
  71. <View
  72. android:id="@+id/line_center"
  73. android:layout_width="1px"
  74. android:layout_height="match_parent"
  75. android:layout_centerInParent="true"/>
  76. <TextView
  77. android:id="@+id/closeHint_tv"
  78. android:layout_width="80dp"
  79. android:layout_height="match_parent"
  80. android:layout_alignLeft="@+id/line_center"
  81. android:clickable="true"
  82. android:gravity="center"
  83. android:textColor="@color/x7_white"
  84. android:textSize="17dp" />
  85. </RelativeLayout>