x7_act_personal_center_international.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="wrap_content"
  5. android:layout_height="match_parent">
  6. <ScrollView
  7. android:id="@+id/sl_personalCenter"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:fillViewport="true"
  11. android:scrollbars="none">
  12. <RelativeLayout
  13. android:id="@+id/rl_outside"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:layout_gravity="center_horizontal">
  17. <RelativeLayout
  18. android:id="@+id/rl_userSelf_center"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_marginTop="25dp">
  22. <ImageView
  23. android:id="@+id/iv_user_head"
  24. android:layout_width="65dp"
  25. android:layout_height="65dp"
  26. android:src="@drawable/x7_bg_header" />
  27. <RelativeLayout
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_marginLeft="19dp"
  31. android:layout_marginTop="8dp"
  32. android:layout_toRightOf="@id/iv_user_head">
  33. <TextView
  34. android:id="@+id/tv_title_centre"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text="@string/x7_user_account_name"
  38. android:textColor="#666"
  39. android:textSize="14dp" />
  40. <TextView
  41. android:id="@+id/tv_user_account_tittle"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:textSize="7dp"
  45. android:layout_marginTop="2dp"
  46. android:textColor="#bababa"
  47. android:layout_below="@+id/tv_title_centre"
  48. android:text="@string/account_copy"
  49. android:layout_alignLeft="@+id/tv_title_centre" />
  50. <TextView
  51. android:id="@+id/tv_user_account"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:textSize="7dp"
  55. android:layout_marginTop="2dp"
  56. android:textColor="#bababa"
  57. android:layout_below="@+id/tv_title_centre"
  58. android:layout_toRightOf="@+id/tv_user_account_tittle" />
  59. <ImageView
  60. android:id="@+id/tv_change_at"
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63. android:layout_marginLeft="5dp"
  64. android:layout_marginTop="2dp"
  65. android:layout_toRightOf="@id/tv_title_centre"
  66. android:background="@drawable/x7_change_account"
  67. android:scaleType="center" />
  68. <RelativeLayout
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:layout_below="@id/tv_title_centre">
  72. <TextView
  73. android:id="@+id/tv_switch_account"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_marginTop="14dp"
  77. android:background="@drawable/x7_edt_back_small"
  78. android:gravity="center"
  79. android:text="@string/x7_change_account"
  80. android:textColor="#999"
  81. android:textSize="10dp" />
  82. <TextView
  83. android:id="@+id/tv_location"
  84. android:layout_width="wrap_content"
  85. android:minWidth="100dp"
  86. android:layout_height="wrap_content"
  87. android:layout_marginLeft="7dp"
  88. android:layout_marginTop="10dp"
  89. android:layout_toRightOf="@id/tv_switch_account"
  90. android:background="@drawable/x7_edt_back_small"
  91. android:drawableRight="@drawable/x7_arrow_down1"
  92. android:drawablePadding="13dp"
  93. android:gravity="center"
  94. android:paddingLeft="20dp"
  95. android:paddingRight="8dp"
  96. android:text="@string/x7_taiwan"
  97. android:textColor="#999"
  98. android:textSize="10dp" />
  99. </RelativeLayout>
  100. </RelativeLayout>
  101. </RelativeLayout>
  102. <include
  103. android:id="@+id/person_center"
  104. layout="@layout/x7_fragment_person_center_international"
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:layout_below="@id/rl_userSelf_center"
  108. android:layout_centerHorizontal="true"
  109. android:layout_marginTop="31dp" />
  110. <LinearLayout
  111. android:layout_width="wrap_content"
  112. android:layout_height="wrap_content"
  113. android:layout_below="@id/rl_userSelf_center"
  114. android:layout_centerHorizontal="true">
  115. <View
  116. android:layout_width="158dp"
  117. android:layout_height="wrap_content" />
  118. <ListView
  119. android:id="@+id/lv_choose_country"
  120. android:layout_width="100dp"
  121. android:layout_height="100dp"
  122. android:layout_marginTop="1dp"
  123. android:background="@drawable/x7_edit_back"
  124. android:divider="@null"
  125. android:listSelector="@android:color/transparent"
  126. android:scrollbars="none"
  127. android:visibility="gone"></ListView>
  128. </LinearLayout>
  129. <LinearLayout
  130. android:id="@+id/chat_customer_join"
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:layout_below="@id/person_center"
  134. android:layout_centerHorizontal="true"
  135. android:layout_marginTop="26dp"
  136. android:layout_marginBottom="26dp"
  137. android:orientation="horizontal">
  138. <TextView
  139. android:id="@+id/tv_user_contact"
  140. android:layout_width="0dp"
  141. android:layout_height="wrap_content"
  142. android:layout_weight="1"
  143. android:background="@drawable/x7_tv_account_note_bg"
  144. android:drawableLeft="@drawable/x7_chat"
  145. android:drawablePadding="8dp"
  146. android:gravity="center"
  147. android:paddingLeft="13dp"
  148. android:paddingTop="7dp"
  149. android:paddingRight="13dp"
  150. android:paddingBottom="7dp"
  151. android:text="@string/x7_chat_customer"
  152. android:textColor="#12cdb0"
  153. android:textSize="10dp" />
  154. <TextView
  155. android:id="@+id/tv_un_read_msg"
  156. android:layout_width="wrap_content"
  157. android:layout_height="10dp"
  158. android:layout_above="@id/tv_user_contact"
  159. android:layout_marginLeft="-6dp"
  160. android:layout_marginBottom="-8dp"
  161. android:layout_toRightOf="@id/tv_user_contact"
  162. android:background="@drawable/x7_un_read_msg"
  163. android:gravity="center"
  164. android:maxEms="3"
  165. android:minWidth="10dp"
  166. android:minEms="2"
  167. android:textColor="@color/x7_white"
  168. android:textSize="8sp" />
  169. <TextView
  170. android:id="@+id/tv_user_group"
  171. android:layout_width="0dp"
  172. android:layout_height="wrap_content"
  173. android:layout_marginLeft="11dp"
  174. android:layout_weight="1"
  175. android:background="@drawable/x7_tv_account_note_bg"
  176. android:drawableLeft="@drawable/x7_im"
  177. android:drawablePadding="8dp"
  178. android:gravity="center"
  179. android:paddingLeft="13dp"
  180. android:paddingTop="7dp"
  181. android:paddingRight="13dp"
  182. android:paddingBottom="7dp"
  183. android:text="@string/x7_join_im"
  184. android:textColor="#12cdb0"
  185. android:textSize="10dp"
  186. tools:visibility="gone" />
  187. </LinearLayout>
  188. </RelativeLayout>
  189. </ScrollView>
  190. </RelativeLayout>