fragment_setting.xml 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:flatui="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_marginTop="40dp"
  7. android:background="@color/FFF7F7F7"
  8. android:scrollbars="none">
  9. <ScrollView
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <LinearLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_marginLeft="@dimen/space_10"
  16. android:layout_marginRight="@dimen/space_10"
  17. android:orientation="vertical">
  18. <ImageView
  19. android:id="@+id/im_setting_user_img"
  20. android:layout_width="100dp"
  21. android:layout_height="100dp"
  22. android:layout_gravity="center"
  23. android:layout_margin="@dimen/space_20"
  24. android:background="@drawable/setting_item_bg"
  25. android:src="@mipmap/user_big_img" />
  26. <LinearLayout
  27. android:id="@+id/ll_setting_frag_account"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginBottom="@dimen/space_5"
  31. android:layout_marginLeft="@dimen/space_20"
  32. android:layout_marginRight="@dimen/space_20"
  33. android:layout_marginTop="@dimen/space_5"
  34. android:background="@color/item_click"
  35. android:gravity="center_vertical"
  36. android:orientation="horizontal"
  37. android:padding="@dimen/space_15">
  38. <TextView
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_gravity="center_vertical|left"
  42. android:layout_weight="3"
  43. android:text="@string/setting_frag_account"
  44. android:textSize="@dimen/text_size_15" />
  45. <TextView
  46. android:id="@+id/tv_setting_account"
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_weight="1"
  50. android:gravity="center_vertical|left"
  51. android:text="@string/setting_frag_account_value"
  52. android:textSize="@dimen/text_size_15" />
  53. </LinearLayout>
  54. <LinearLayout
  55. android:id="@+id/ll_setting_frag_name"
  56. android:layout_width="match_parent"
  57. android:layout_height="wrap_content"
  58. android:layout_marginBottom="@dimen/space_5"
  59. android:layout_marginLeft="@dimen/space_20"
  60. android:layout_marginRight="@dimen/space_20"
  61. android:layout_marginTop="@dimen/space_5"
  62. android:background="@color/item_click"
  63. android:gravity="center_vertical"
  64. android:orientation="horizontal"
  65. android:padding="@dimen/space_15">
  66. <TextView
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content"
  69. android:layout_gravity="center_vertical|left"
  70. android:layout_weight="3"
  71. android:text="@string/setting_frag_name"
  72. android:textColor="@color/black"
  73. android:textSize="@dimen/text_size_15" />
  74. <TextView
  75. android:id="@+id/tv_setting_name"
  76. android:layout_width="match_parent"
  77. android:layout_height="wrap_content"
  78. android:layout_weight="1"
  79. android:gravity="center_vertical|left"
  80. android:text="@string/setting_frag_name_value"
  81. android:textSize="@dimen/text_size_15" />
  82. </LinearLayout>
  83. <LinearLayout
  84. android:id="@+id/ll_setting_frag_phone"
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:layout_marginBottom="@dimen/space_5"
  88. android:layout_marginLeft="@dimen/space_20"
  89. android:layout_marginRight="@dimen/space_20"
  90. android:layout_marginTop="@dimen/space_5"
  91. android:background="@color/item_click"
  92. android:gravity="center_vertical"
  93. android:orientation="horizontal"
  94. android:padding="@dimen/space_15">
  95. <TextView
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:layout_gravity="center_vertical|left"
  99. android:layout_weight="3"
  100. android:text="@string/setting_frag_phone"
  101. android:textColor="@color/black"
  102. android:textSize="@dimen/text_size_15" />
  103. <TextView
  104. android:id="@+id/tv_setting_phone"
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content"
  107. android:layout_weight="1"
  108. android:gravity="center_vertical|left"
  109. android:text="@string/setting_frag_phone_number"
  110. android:textSize="@dimen/text_size_15" />
  111. </LinearLayout>
  112. <LinearLayout
  113. android:id="@+id/ll_setting_frag_group"
  114. android:layout_width="match_parent"
  115. android:layout_height="wrap_content"
  116. android:layout_marginBottom="@dimen/space_5"
  117. android:layout_marginLeft="@dimen/space_20"
  118. android:layout_marginRight="@dimen/space_20"
  119. android:layout_marginTop="@dimen/space_5"
  120. android:background="@color/item_click"
  121. android:gravity="center_vertical"
  122. android:orientation="horizontal"
  123. android:padding="@dimen/space_15">
  124. <TextView
  125. android:layout_width="match_parent"
  126. android:layout_height="wrap_content"
  127. android:layout_gravity="center_vertical|left"
  128. android:layout_weight="3"
  129. android:text="@string/setting_frag_group"
  130. android:textColor="@color/black"
  131. android:textSize="@dimen/text_size_15" />
  132. <TextView
  133. android:id="@+id/tv_setting_group"
  134. android:layout_width="match_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_weight="1"
  137. android:gravity="center_vertical|left"
  138. android:text="@string/setting_frag_group_value"
  139. android:textSize="@dimen/text_size_15" />
  140. </LinearLayout>
  141. <Button
  142. android:id="@+id/btn_setting_psw"
  143. android:layout_width="match_parent"
  144. android:layout_height="wrap_content"
  145. android:layout_gravity="center"
  146. android:layout_marginBottom="@dimen/space_5"
  147. android:layout_marginLeft="@dimen/space_20"
  148. android:layout_marginRight="@dimen/space_20"
  149. android:layout_marginTop="@dimen/space_5"
  150. android:background="@color/bg_blue"
  151. android:gravity="center"
  152. android:padding="@dimen/space_10"
  153. android:text="@string/setting_frag_psw"
  154. android:textSize="@dimen/text_size_18"
  155. android:visibility="gone" />
  156. <Button
  157. android:id="@+id/btn_setting_clean_chat"
  158. android:layout_width="match_parent"
  159. android:layout_height="wrap_content"
  160. android:layout_gravity="center"
  161. android:layout_marginBottom="@dimen/space_5"
  162. android:layout_marginLeft="@dimen/space_20"
  163. android:layout_marginRight="@dimen/space_20"
  164. android:layout_marginTop="@dimen/space_5"
  165. android:background="@color/bg_blue"
  166. android:gravity="center"
  167. android:padding="@dimen/space_10"
  168. android:text="@string/setting_frag_clean"
  169. android:textSize="@dimen/text_size_18" />
  170. </LinearLayout>
  171. </ScrollView>
  172. </RelativeLayout>