mine_settings.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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.sheishuo.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_marginLeft="4dp"
  42. android:layout_marginStart="4dp"
  43. android:src="@drawable/right_arrow" />
  44. </LinearLayout>
  45. <View
  46. android:layout_width="match_parent"
  47. android:layout_height="1dp"
  48. android:background="@color/grey_light_light" />
  49. <LinearLayout
  50. android:id="@+id/settings_notify_layout"
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:orientation="horizontal"
  54. android:padding="16dp"
  55. android:background="@color/white">
  56. <TextView
  57. android:layout_width="0dp"
  58. android:layout_height="wrap_content"
  59. android:layout_gravity="center_vertical"
  60. android:layout_weight="9"
  61. android:text="消息通知" />
  62. <TextView
  63. android:id="@+id/settings_notify_TV"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:gravity="center"
  67. android:src="@drawable/nim_avatar_default"
  68. android:text="消息通知" />
  69. <ImageView
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:layout_marginLeft="4dp"
  73. android:layout_marginStart="4dp"
  74. android:src="@drawable/right_arrow" />
  75. </LinearLayout>
  76. <View
  77. android:layout_width="match_parent"
  78. android:layout_height="1dp"
  79. android:background="@color/grey_light_light" />
  80. <LinearLayout
  81. android:id="@+id/settings_privacy_layout"
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:orientation="horizontal"
  85. android:padding="16dp"
  86. android:background="@color/white">
  87. <TextView
  88. android:layout_width="0dp"
  89. android:layout_height="wrap_content"
  90. android:layout_gravity="center_vertical"
  91. android:layout_weight="9"
  92. android:text="隐私" />
  93. <ImageView
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_marginLeft="4dp"
  97. android:layout_marginStart="4dp"
  98. android:src="@drawable/right_arrow" />
  99. </LinearLayout>
  100. <View
  101. android:layout_width="match_parent"
  102. android:layout_height="1dp"
  103. android:background="@color/grey_light_light" />
  104. <LinearLayout
  105. android:id="@+id/settings_feedback_layout"
  106. android:layout_width="match_parent"
  107. android:layout_height="wrap_content"
  108. android:orientation="horizontal"
  109. android:padding="16dp"
  110. android:background="@color/white">
  111. <TextView
  112. android:layout_width="0dp"
  113. android:layout_height="wrap_content"
  114. android:layout_gravity="center_vertical"
  115. android:layout_weight="9"
  116. android:text="帮助与反馈" />
  117. <ImageView
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_marginLeft="4dp"
  121. android:layout_marginStart="4dp"
  122. android:src="@drawable/right_arrow" />
  123. </LinearLayout>
  124. <View
  125. android:layout_width="match_parent"
  126. android:layout_height="1dp"
  127. android:background="@color/grey_light_light" />
  128. <LinearLayout
  129. android:id="@+id/settings_about_layout"
  130. android:layout_width="match_parent"
  131. android:layout_height="wrap_content"
  132. android:orientation="horizontal"
  133. android:padding="16dp"
  134. android:background="@color/white"
  135. android:layout_marginTop="8dp">
  136. <TextView
  137. android:layout_width="0dp"
  138. android:layout_height="wrap_content"
  139. android:layout_gravity="center_vertical"
  140. android:layout_weight="9"
  141. android:text="关于谁说" />
  142. <ImageView
  143. android:layout_width="wrap_content"
  144. android:layout_height="wrap_content"
  145. android:layout_marginLeft="4dp"
  146. android:layout_marginStart="4dp"
  147. android:src="@drawable/right_arrow" />
  148. </LinearLayout>
  149. <View
  150. android:layout_width="match_parent"
  151. android:layout_height="1dp"
  152. android:background="@color/grey_light_light" />
  153. <Button
  154. android:id="@+id/settings_quit_btn"
  155. android:layout_width="match_parent"
  156. android:layout_height="wrap_content"
  157. android:text="退出登录"
  158. android:textColor="@color/white"
  159. android:background="@drawable/btn1_selector"
  160. android:layout_margin="8dp"/>
  161. </LinearLayout>