user_info_setting_activity.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical"
  7. android:background="@color/color_background">
  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. app:left_text="返回"
  16. app:title="设置" />
  17. </android.support.design.widget.AppBarLayout>
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:orientation="vertical">
  22. <LinearLayout
  23. android:id="@+id/user_info_setting_remark_layout"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:orientation="horizontal"
  27. android:padding="16dp"
  28. android:background="@color/white">
  29. <TextView
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_weight="7"
  33. android:text="备注:"
  34. android:textSize="16sp" />
  35. <TextView
  36. android:id="@+id/user_info_setting_remark_TV"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_weight="3"
  40. android:gravity="center_vertical|end"
  41. android:text="用户备注"
  42. android:textColor="@color/grey_light"
  43. android:textSize="16sp" />
  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:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:orientation="horizontal"
  53. android:padding="16dp"
  54. android:background="@color/white">
  55. <TextView
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_weight="7"
  59. android:text="置顶聊天:"
  60. android:textSize="16sp" />
  61. <Switch
  62. android:id="@+id/user_info_setting_pin_switch"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content" />
  65. </LinearLayout>
  66. <View
  67. android:layout_width="match_parent"
  68. android:layout_height="1dp"
  69. android:background="@color/grey_light_light"/>
  70. <LinearLayout
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:orientation="horizontal"
  74. android:padding="16dp"
  75. android:background="@color/white">
  76. <TextView
  77. android:layout_width="wrap_content"
  78. android:layout_height="wrap_content"
  79. android:layout_weight="7"
  80. android:text="消息免打扰:"
  81. android:textSize="16sp" />
  82. <Switch
  83. android:id="@+id/user_info_setting_mute_switch"
  84. android:layout_width="wrap_content"
  85. android:layout_height="wrap_content" />
  86. </LinearLayout>
  87. <View
  88. android:layout_width="match_parent"
  89. android:layout_height="1dp"
  90. android:background="@color/grey_light_light"/>
  91. <LinearLayout
  92. android:layout_width="match_parent"
  93. android:layout_height="wrap_content"
  94. android:orientation="horizontal"
  95. android:padding="16dp"
  96. android:background="@color/white">
  97. <TextView
  98. android:layout_width="wrap_content"
  99. android:layout_height="wrap_content"
  100. android:layout_weight="7"
  101. android:text="拉入黑名单:"
  102. android:textSize="16sp" />
  103. <Switch
  104. android:id="@+id/user_info_setting_ban_switch"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content" />
  107. </LinearLayout>
  108. <View
  109. android:layout_width="match_parent"
  110. android:layout_height="1dp"
  111. android:background="@color/grey_light_light"/>
  112. <LinearLayout
  113. android:id="@+id/user_info_setting_complain_layout"
  114. android:layout_width="match_parent"
  115. android:layout_height="wrap_content"
  116. android:orientation="horizontal"
  117. android:padding="16dp"
  118. android:background="@color/white">
  119. <TextView
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:layout_weight="7"
  123. android:text="投诉"
  124. android:textSize="16sp" />
  125. <ImageView
  126. android:layout_width="wrap_content"
  127. android:layout_height="match_parent"
  128. android:src="@drawable/right_arrow"
  129. android:layout_gravity="center_vertical"/>
  130. </LinearLayout>
  131. <View
  132. android:layout_width="match_parent"
  133. android:layout_height="1dp"
  134. android:background="@color/grey_light_light"/>
  135. </LinearLayout>
  136. </LinearLayout>