fragment_setting.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical" >
  6. <include layout="@layout/fragment_title" />
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:orientation="vertical" >
  11. <LinearLayout
  12. android:id="@+id/ll_fragement_setting_title"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:orientation="vertical" >
  16. <ImageView
  17. android:id="@+id/iv_fragement_setting_title"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:scaleType="fitCenter" />
  21. </LinearLayout>
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="@dimen/ll_layout_height_10"
  25. android:background="@color/lightgray"
  26. android:orientation="vertical" >
  27. </LinearLayout>
  28. <LinearLayout
  29. android:id="@+id/lin_user"
  30. android:layout_width="fill_parent"
  31. android:layout_height="@dimen/ll_set_item_height"
  32. android:background="@drawable/bg_list_item"
  33. android:orientation="horizontal" >
  34. <TextView
  35. android:id="@+id/tv_user"
  36. android:layout_width="fill_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_marginLeft="@dimen/tv_layout_marginLeft_18"
  39. android:layout_weight="1"
  40. android:layout_gravity="center_vertical"
  41. android:textColor="@color/black"
  42. android:textSize="@dimen/textsize_14" />
  43. <ImageView
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_marginRight="@dimen/iv_layout_marginRight_17"
  47. android:layout_gravity="center_vertical"
  48. android:src="@drawable/check" />
  49. </LinearLayout>
  50. <LinearLayout
  51. android:layout_width="match_parent"
  52. android:layout_height="@dimen/ll_layout_height_10"
  53. android:background="@color/lightgray"
  54. android:orientation="vertical" >
  55. </LinearLayout>
  56. <LinearLayout
  57. android:id="@+id/lin_changeuser"
  58. android:layout_width="fill_parent"
  59. android:layout_height="@dimen/ll_set_item_height"
  60. android:background="@drawable/bg_list_item"
  61. android:orientation="horizontal" >
  62. <ImageView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_gravity="center_vertical"
  66. android:layout_marginLeft="19dp"
  67. android:src="@drawable/changeuser" />
  68. <TextView
  69. android:layout_width="fill_parent"
  70. android:layout_height="wrap_content"
  71. android:layout_gravity="center_vertical"
  72. android:layout_marginLeft="@dimen/tv_layout_marginLeft_10"
  73. android:layout_weight="1"
  74. android:text="切换用户"
  75. android:textColor="@color/black"
  76. android:textSize="@dimen/textsize_14" />
  77. <ImageView
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_marginRight="@dimen/iv_layout_marginRight_18"
  81. android:layout_gravity="center_vertical"
  82. android:src="@drawable/right" />
  83. </LinearLayout>
  84. <LinearLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="1dp"
  87. android:background="@color/EBEBEB"
  88. android:orientation="vertical" >
  89. </LinearLayout>
  90. <LinearLayout
  91. android:id="@+id/lin_modifyPassword"
  92. android:layout_width="fill_parent"
  93. android:layout_height="@dimen/ll_set_item_height"
  94. android:background="@drawable/bg_list_item"
  95. android:orientation="horizontal" >
  96. <ImageView
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:layout_gravity="center_vertical"
  100. android:layout_marginLeft="19dp"
  101. android:src="@drawable/modifypassword" />
  102. <TextView
  103. android:layout_width="fill_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_gravity="center_vertical"
  106. android:layout_marginLeft="@dimen/tv_layout_marginLeft_10"
  107. android:layout_weight="1"
  108. android:text="修改密码"
  109. android:textColor="@color/black"
  110. android:textSize="@dimen/textsize_14" />
  111. <ImageView
  112. android:layout_width="wrap_content"
  113. android:layout_height="wrap_content"
  114. android:layout_marginRight="@dimen/iv_layout_marginRight_18"
  115. android:layout_gravity="center_vertical"
  116. android:src="@drawable/right" />
  117. </LinearLayout>
  118. <LinearLayout
  119. android:layout_width="match_parent"
  120. android:layout_height="1dp"
  121. android:background="@color/EBEBEB"
  122. android:orientation="vertical" >
  123. </LinearLayout>
  124. <LinearLayout
  125. android:id="@+id/lin_version"
  126. android:layout_width="fill_parent"
  127. android:layout_height="@dimen/ll_set_item_height"
  128. android:background="@drawable/bg_list_item"
  129. android:orientation="horizontal" >
  130. <ImageView
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:layout_gravity="center_vertical"
  134. android:layout_marginLeft="19dp"
  135. android:src="@drawable/version" />
  136. <TextView
  137. android:layout_width="fill_parent"
  138. android:layout_height="wrap_content"
  139. android:layout_gravity="center_vertical"
  140. android:layout_marginLeft="@dimen/tv_layout_marginLeft_10"
  141. android:layout_weight="1"
  142. android:text="版本信息"
  143. android:textColor="@color/black"
  144. android:textSize="@dimen/textsize_14" />
  145. <ImageView
  146. android:layout_width="wrap_content"
  147. android:layout_height="wrap_content"
  148. android:layout_marginRight="@dimen/iv_layout_marginRight_18"
  149. android:layout_gravity="center_vertical"
  150. android:src="@drawable/right" />
  151. </LinearLayout>
  152. <LinearLayout
  153. android:layout_width="match_parent"
  154. android:layout_height="1dp"
  155. android:background="@color/EBEBEB"
  156. android:orientation="vertical" >
  157. </LinearLayout>
  158. <LinearLayout
  159. android:id="@+id/lin_logout"
  160. android:layout_width="fill_parent"
  161. android:layout_height="@dimen/ll_set_item_height"
  162. android:background="@drawable/bg_list_item"
  163. android:orientation="horizontal" >
  164. <ImageView
  165. android:layout_width="wrap_content"
  166. android:layout_height="wrap_content"
  167. android:layout_gravity="center_vertical"
  168. android:layout_marginLeft="19dp"
  169. android:src="@drawable/exit" />
  170. <TextView
  171. android:layout_width="fill_parent"
  172. android:layout_height="wrap_content"
  173. android:layout_gravity="center_vertical"
  174. android:layout_marginLeft="@dimen/tv_layout_marginLeft_10"
  175. android:layout_weight="1"
  176. android:text="退出登录"
  177. android:textColor="@color/black"
  178. android:textSize="@dimen/textsize_14" />
  179. <ImageView
  180. android:layout_width="wrap_content"
  181. android:layout_height="wrap_content"
  182. android:layout_marginRight="@dimen/iv_layout_marginRight_18"
  183. android:layout_gravity="center_vertical"
  184. android:src="@drawable/right" />
  185. </LinearLayout>
  186. <LinearLayout
  187. android:layout_width="match_parent"
  188. android:layout_height="1dp"
  189. android:background="@color/EBEBEB"
  190. android:orientation="vertical" >
  191. </LinearLayout>
  192. </LinearLayout>
  193. </LinearLayout>