mine_settings.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/grey_light_light">
  8. <android.support.design.widget.AppBarLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content">
  11. <com.shuishuo.app.common.views.BaseToolbar
  12. android:id="@+id/toolbar"
  13. android:layout_width="match_parent"
  14. android:layout_height="@dimen/action_bar_height"
  15. android:title="设置"
  16. app:left_text="返回"/>
  17. </android.support.design.widget.AppBarLayout>
  18. <LinearLayout
  19. android:id="@+id/settings_security_layout"
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:orientation="horizontal"
  23. android:padding="16dp"
  24. android:background="@color/white">
  25. <TextView
  26. android:layout_width="0dp"
  27. android:layout_height="wrap_content"
  28. android:layout_gravity="center_vertical"
  29. android:layout_weight="9"
  30. android:text="账户与安全" />
  31. <TextView
  32. android:id="@+id/settings_security_TV"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:gravity="center"
  36. android:src="@drawable/nim_avatar_default"
  37. android:text="安全等级高" />
  38. <ImageView
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_gravity="center_vertical"
  42. android:layout_marginLeft="4dp"
  43. android:layout_marginStart="4dp"
  44. android:src="@drawable/right_arrow" />
  45. </LinearLayout>
  46. <View
  47. android:layout_width="match_parent"
  48. android:layout_height="1dp"
  49. android:background="@color/grey_light_light" />
  50. <LinearLayout
  51. android:id="@+id/settings_notify_layout"
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:orientation="horizontal"
  55. android:padding="16dp"
  56. android:background="@color/white">
  57. <TextView
  58. android:layout_width="0dp"
  59. android:layout_height="wrap_content"
  60. android:layout_gravity="center_vertical"
  61. android:layout_weight="9"
  62. android:text="消息通知" />
  63. <TextView
  64. android:id="@+id/settings_notify_TV"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:gravity="center"
  68. android:src="@drawable/nim_avatar_default"
  69. android:text="消息通知" />
  70. <ImageView
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"
  73. android:layout_gravity="center_vertical"
  74. android:layout_marginLeft="4dp"
  75. android:layout_marginStart="4dp"
  76. android:src="@drawable/right_arrow" />
  77. </LinearLayout>
  78. <View
  79. android:layout_width="match_parent"
  80. android:layout_height="1dp"
  81. android:background="@color/grey_light_light" />
  82. <LinearLayout
  83. android:id="@+id/settings_privacy_layout"
  84. android:layout_width="match_parent"
  85. android:layout_height="wrap_content"
  86. android:orientation="horizontal"
  87. android:padding="16dp"
  88. android:background="@color/white">
  89. <TextView
  90. android:layout_width="0dp"
  91. android:layout_height="wrap_content"
  92. android:layout_gravity="center_vertical"
  93. android:layout_weight="9"
  94. android:text="隐私" />
  95. <ImageView
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_gravity="center_vertical"
  99. android:layout_marginLeft="4dp"
  100. android:layout_marginStart="4dp"
  101. android:src="@drawable/right_arrow" />
  102. </LinearLayout>
  103. <View
  104. android:layout_width="match_parent"
  105. android:layout_height="1dp"
  106. android:background="@color/grey_light_light" />
  107. <LinearLayout
  108. android:id="@+id/settings_feedback_layout"
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:orientation="horizontal"
  112. android:padding="16dp"
  113. android:background="@color/white">
  114. <TextView
  115. android:layout_width="0dp"
  116. android:layout_height="wrap_content"
  117. android:layout_gravity="center_vertical"
  118. android:layout_weight="9"
  119. android:text="帮助与反馈" />
  120. <ImageView
  121. android:layout_width="wrap_content"
  122. android:layout_height="wrap_content"
  123. android:layout_gravity="center_vertical"
  124. android:layout_marginLeft="4dp"
  125. android:layout_marginStart="4dp"
  126. android:src="@drawable/right_arrow" />
  127. </LinearLayout>
  128. <View
  129. android:layout_width="match_parent"
  130. android:layout_height="1dp"
  131. android:background="@color/grey_light_light" />
  132. <LinearLayout
  133. android:id="@+id/settings_about_layout"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:orientation="horizontal"
  137. android:padding="16dp"
  138. android:background="@color/white"
  139. android:layout_marginTop="8dp">
  140. <TextView
  141. android:layout_width="0dp"
  142. android:layout_height="wrap_content"
  143. android:layout_gravity="center_vertical"
  144. android:layout_weight="9"
  145. android:text="关于谁说" />
  146. <ImageView
  147. android:layout_width="wrap_content"
  148. android:layout_height="wrap_content"
  149. android:layout_gravity="center_vertical"
  150. android:layout_marginLeft="4dp"
  151. android:layout_marginStart="4dp"
  152. android:src="@drawable/right_arrow" />
  153. </LinearLayout>
  154. <View
  155. android:layout_width="match_parent"
  156. android:layout_height="1dp"
  157. android:background="@color/grey_light_light" />
  158. <Button
  159. android:id="@+id/settings_quit_btn"
  160. android:layout_width="match_parent"
  161. android:layout_height="wrap_content"
  162. android:text="退出登录"
  163. android:textColor="@color/white"
  164. android:background="@drawable/btn1_selector"
  165. android:layout_margin="8dp"/>
  166. </LinearLayout>