x7_vertical_dialog2.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/x7_white"
  7. android:id="@+id/rl_childRoot"
  8. tools:ignore="MissingDefaultResource">
  9. <RadioGroup
  10. android:id="@+id/rg_notice_item"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:layout_alignTop="@+id/rl"
  14. android:layout_alignBottom="@+id/rl"/>
  15. <RelativeLayout
  16. android:id="@+id/rl"
  17. android:layout_height="wrap_content"
  18. android:layout_width="match_parent"
  19. android:layout_toRightOf="@+id/rg_notice_item"
  20. >
  21. <LinearLayout
  22. android:id="@+id/ll_slide_hint"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_centerInParent="true"
  26. android:layout_centerHorizontal="true"
  27. android:gravity="center"
  28. android:orientation="horizontal"
  29. android:background="@drawable/x7_corner_10_solid_black_600"
  30. android:visibility="gone">
  31. <ImageView
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:scaleType="fitStart"
  35. android:layout_marginRight="5dp"
  36. android:src="@drawable/x7_notice_row1" />
  37. <TextView
  38. android:id="@+id/tv_hint_for_slide"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:gravity="center"
  42. android:paddingLeft="16dp"
  43. android:paddingTop="10dp"
  44. android:paddingRight="16dp"
  45. android:paddingBottom="10dp"
  46. android:text="@string/x7_show_notice_hint"
  47. android:textColor="@color/x7_white" />
  48. <ImageView
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:scaleType="fitStart"
  52. android:layout_marginLeft="5dp"
  53. android:src="@drawable/x7_notice_row2" />
  54. </LinearLayout>
  55. <com.smwl.smsdk.myview.MyScrollViewForNotice
  56. android:id="@+id/scroll_view"
  57. style="@style/X7ScrollBarStyle"
  58. android:fadeScrollbars="false"
  59. android:scrollbars="none"
  60. android:layout_width="match_parent"
  61. android:layout_height="match_parent"
  62. android:layout_above="@+id/ll_show_notice"
  63. android:layout_marginTop="35dp"
  64. android:layout_marginLeft="31dp"
  65. android:layout_marginRight="31dp"
  66. android:layout_marginBottom="20dp"
  67. >
  68. <include layout="@layout/x7_notice_item" />
  69. </com.smwl.smsdk.myview.MyScrollViewForNotice>
  70. <LinearLayout
  71. android:id="@+id/ll_show_notice"
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_alignParentBottom="true"
  75. android:layout_marginLeft="31dp"
  76. android:layout_marginRight="31dp"
  77. android:layout_marginBottom="20dp"
  78. android:descendantFocusability="afterDescendants"
  79. android:gravity="center_vertical"
  80. >
  81. <LinearLayout
  82. android:id="@+id/ll_check_no_notice"
  83. android:layout_width="0dp"
  84. android:layout_height="wrap_content"
  85. android:layout_weight="1"
  86. android:layout_marginLeft="6dp"
  87. android:descendantFocusability="afterDescendants"
  88. android:orientation="horizontal"
  89. android:gravity="center"
  90. >
  91. <CheckBox
  92. android:id="@+id/check_no_notice"
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:paddingTop="10dp"
  96. android:paddingBottom="10dp"
  97. android:paddingLeft="20dp"
  98. android:drawableLeft="@drawable/x7_selection_for_agreement"
  99. android:background="@null"
  100. android:button="@null"
  101. android:text="@string/x7_no_longger_remind"
  102. android:textColor="#ff9900"
  103. android:textSize="13dp"
  104. />
  105. </LinearLayout>
  106. <Button
  107. android:id="@+id/btn_check_details"
  108. android:layout_width="113dp"
  109. android:layout_height="34dp"
  110. android:layout_marginRight="16dp"
  111. android:background="@drawable/x7_btn_auto_back"
  112. android:text="@string/x7_view_details"
  113. android:textColor="#ffffff"
  114. android:textSize="12dp"
  115. />
  116. </LinearLayout>
  117. </RelativeLayout>
  118. </RelativeLayout>