activity_setting.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/blue_very_light"
  6. android:orientation="vertical"
  7. android:gravity="center_horizontal" >
  8. <com.onion.appsbackup.view.CustomedActionBar
  9. xmlns:ab="http://schemas.android.com/apk/res-auto"
  10. android:id="@+id/ab_setting"
  11. android:layout_width="match_parent"
  12. android:layout_height="@dimen/action_bar_height"
  13. ab:title="@string/label_my_setting" />
  14. <ImageView
  15. android:layout_width="100dp"
  16. android:layout_height="100dp"
  17. android:scaleType="fitXY"
  18. android:src="@drawable/logo"/>
  19. <View
  20. android:layout_width="match_parent"
  21. android:layout_height="1px"
  22. android:background="@color/cute_green" />
  23. <!-- <LinearLayout
  24. android:id="@+id/ll_contact"
  25. android:layout_width="match_parent"
  26. android:layout_height="40dp"
  27. android:background="@drawable/item_with_frame"
  28. android:clickable="true"
  29. android:gravity="center_vertical"
  30. android:orientation="horizontal"
  31. android:paddingLeft="10dp"
  32. android:paddingRight="10dp" >
  33. <TextView
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_marginLeft="10dp"
  37. android:text="联系人"
  38. android:textSize="11sp" />
  39. </LinearLayout>
  40. <View
  41. android:layout_width="match_parent"
  42. android:layout_height="1px"
  43. android:background="@color/cute_green" />
  44. <LinearLayout
  45. android:id="@+id/ll_sms"
  46. android:layout_width="match_parent"
  47. android:layout_height="40dp"
  48. android:background="@drawable/item_with_frame"
  49. android:clickable="true"
  50. android:gravity="center_vertical"
  51. android:orientation="horizontal"
  52. android:paddingLeft="10dp"
  53. android:paddingRight="10dp" >
  54. <TextView
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:layout_marginLeft="10dp"
  58. android:text="短信"
  59. android:textSize="11sp" />
  60. </LinearLayout>
  61. <View
  62. android:layout_width="match_parent"
  63. android:layout_height="1px"
  64. android:background="@color/cute_green" /> -->
  65. <LinearLayout
  66. android:id="@+id/ll_nickname"
  67. android:layout_width="match_parent"
  68. android:layout_height="40dp"
  69. android:background="@drawable/item_with_frame"
  70. android:clickable="true"
  71. android:gravity="center_vertical"
  72. android:orientation="horizontal"
  73. android:paddingLeft="10dp"
  74. android:paddingRight="10dp" >
  75. <TextView
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:layout_marginLeft="10dp"
  79. android:text="@string/label_nickname"
  80. android:textSize="11sp" />
  81. </LinearLayout>
  82. <View
  83. android:layout_width="match_parent"
  84. android:layout_height="1px"
  85. android:background="@color/cute_green" />
  86. <LinearLayout
  87. android:id="@+id/ll_gender"
  88. android:layout_width="match_parent"
  89. android:layout_height="40dp"
  90. android:background="@drawable/item_with_frame"
  91. android:clickable="true"
  92. android:gravity="center_vertical"
  93. android:orientation="horizontal"
  94. android:paddingLeft="10dp"
  95. android:paddingRight="10dp" >
  96. <TextView
  97. android:layout_width="wrap_content"
  98. android:layout_height="wrap_content"
  99. android:layout_marginLeft="10dp"
  100. android:text="@string/label_sex"
  101. android:textSize="11sp" />
  102. </LinearLayout>
  103. <View
  104. android:layout_width="match_parent"
  105. android:layout_height="1px"
  106. android:background="@color/cute_green" />
  107. <LinearLayout
  108. android:id="@+id/ll_change_phone"
  109. android:layout_width="match_parent"
  110. android:layout_height="40dp"
  111. android:background="@drawable/item_with_frame"
  112. android:clickable="true"
  113. android:gravity="center_vertical"
  114. android:orientation="horizontal"
  115. android:paddingLeft="10dp"
  116. android:paddingRight="10dp" >
  117. <TextView
  118. android:layout_width="wrap_content"
  119. android:layout_height="wrap_content"
  120. android:layout_marginLeft="10dp"
  121. android:text="@string/label_change_phone"
  122. android:textSize="11sp" />
  123. </LinearLayout>
  124. <View
  125. android:layout_width="match_parent"
  126. android:layout_height="1px"
  127. android:background="@color/cute_green" />
  128. <LinearLayout
  129. android:id="@+id/ll_set_bg"
  130. android:layout_width="match_parent"
  131. android:layout_height="40dp"
  132. android:background="@drawable/item_with_frame"
  133. android:clickable="true"
  134. android:gravity="center_vertical"
  135. android:orientation="horizontal"
  136. android:paddingLeft="10dp"
  137. android:paddingRight="10dp" >
  138. <TextView
  139. android:layout_width="wrap_content"
  140. android:layout_height="wrap_content"
  141. android:layout_marginLeft="10dp"
  142. android:text="@string/label_bg_setting"
  143. android:textSize="11sp" />
  144. </LinearLayout>
  145. <View
  146. android:layout_width="match_parent"
  147. android:layout_height="1px"
  148. android:background="@color/cute_green" />
  149. <LinearLayout
  150. android:id="@+id/ll_share"
  151. android:layout_width="match_parent"
  152. android:layout_height="40dp"
  153. android:background="@drawable/item_with_frame"
  154. android:clickable="true"
  155. android:gravity="center_vertical"
  156. android:orientation="horizontal"
  157. android:paddingLeft="10dp"
  158. android:paddingRight="10dp" >
  159. <TextView
  160. android:layout_width="wrap_content"
  161. android:layout_height="wrap_content"
  162. android:layout_marginLeft="10dp"
  163. android:text="@string/label_share"
  164. android:textSize="11sp" />
  165. </LinearLayout>
  166. <View
  167. android:layout_width="match_parent"
  168. android:layout_height="1px"
  169. android:background="@color/cute_green" />
  170. <LinearLayout
  171. android:id="@+id/ll_about"
  172. android:layout_width="match_parent"
  173. android:layout_height="40dp"
  174. android:background="@drawable/item_with_frame"
  175. android:clickable="true"
  176. android:gravity="center_vertical"
  177. android:orientation="horizontal"
  178. android:paddingLeft="10dp"
  179. android:paddingRight="10dp" >
  180. <TextView
  181. android:layout_width="wrap_content"
  182. android:layout_height="wrap_content"
  183. android:layout_marginLeft="10dp"
  184. android:text="@string/label_about"
  185. android:textSize="11sp" />
  186. </LinearLayout>
  187. <View
  188. android:layout_width="match_parent"
  189. android:layout_height="1px"
  190. android:background="@color/cute_green" />
  191. <View
  192. android:layout_width="match_parent"
  193. android:layout_height="0dp"
  194. android:layout_weight="1" />
  195. <Button
  196. android:id="@+id/btn_exit"
  197. android:layout_width="match_parent"
  198. android:layout_height="@dimen/button_height"
  199. android:layout_marginBottom="40dp"
  200. android:layout_marginLeft="@dimen/activity_horizontal_margin"
  201. android:layout_marginRight="@dimen/activity_horizontal_margin"
  202. android:background="@drawable/selector_button_radius"
  203. android:enabled="true"
  204. android:minHeight="0dp"
  205. android:text="@string/label_exit"
  206. android:textColor="@color/white"
  207. android:textSize="@dimen/button_text_size" />
  208. </LinearLayout>