x7_act_personal_center_domestic.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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="match_parent"
  5. android:layout_height="match_parent"
  6. >
  7. <ScrollView
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:scrollbars="none"
  11. >
  12. <RelativeLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent">
  15. <RelativeLayout
  16. android:id="@+id/rl_userSelf_center"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:layout_centerHorizontal="true"
  20. android:layout_marginTop="30dp"
  21. >
  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. />
  28. <RelativeLayout
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_toRightOf="@id/iv_user_head"
  32. android:layout_marginTop="8dp"
  33. android:layout_marginLeft="19dp"
  34. >
  35. <TextView
  36. android:id="@+id/tv_title_centre"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:text="@string/x7_user_account_name"
  40. android:textColor="#666"
  41. android:textSize="14dp" />
  42. <TextView
  43. android:id="@+id/tv_user_account_tittle"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:textSize="10dp"
  47. android:layout_marginTop="2dp"
  48. android:textColor="#bababa"
  49. android:layout_below="@+id/tv_title_centre"
  50. android:text="@string/account_copy"
  51. android:layout_alignLeft="@+id/tv_title_centre" />
  52. <TextView
  53. android:id="@+id/tv_user_account"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:textSize="10dp"
  57. android:layout_marginTop="2dp"
  58. android:textColor="#bababa"
  59. android:layout_below="@+id/tv_title_centre"
  60. android:layout_toRightOf="@+id/tv_user_account_tittle" />
  61. <ImageView
  62. android:id="@+id/tv_change_at"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_marginLeft="5dp"
  66. android:layout_marginTop="2dp"
  67. android:layout_toRightOf="@id/tv_title_centre"
  68. android:scaleType="center"
  69. android:background="@drawable/x7_change_account" />
  70. <TextView
  71. android:id="@+id/tv_switch_account"
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_below="@id/tv_title_centre"
  75. android:layout_centerHorizontal="true"
  76. android:layout_marginTop="16dp"
  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. </RelativeLayout>
  83. </RelativeLayout>
  84. <include
  85. android:id="@+id/person_center"
  86. layout="@layout/x7_fragment_person_center_domestic"
  87. android:layout_width="wrap_content"
  88. android:layout_height="wrap_content"
  89. android:layout_below="@id/rl_userSelf_center"
  90. android:layout_centerHorizontal="true"
  91. android:layout_marginTop="31dp" />
  92. <LinearLayout
  93. android:id="@+id/chat_customer_join"
  94. android:layout_width="wrap_content"
  95. android:layout_height="wrap_content"
  96. android:layout_below="@id/person_center"
  97. android:layout_marginTop="26dp"
  98. android:layout_marginBottom="26dp"
  99. android:orientation="horizontal"
  100. android:layout_centerInParent="true"
  101. >
  102. <TextView
  103. android:id="@+id/tv_user_contact"
  104. android:layout_width="0dp"
  105. android:layout_weight="1"
  106. android:layout_height="wrap_content"
  107. android:gravity="center"
  108. android:text="@string/x7_chat_customer"
  109. android:drawableLeft="@drawable/x7_chat"
  110. android:background="@drawable/x7_tv_account_note_bg"
  111. android:paddingLeft="13dp"
  112. android:paddingRight="13dp"
  113. android:paddingTop="7dp"
  114. android:paddingBottom="7dp"
  115. android:drawablePadding="8dp"
  116. android:textColor="#12cdb0"
  117. android:textSize="10dp" />
  118. <TextView
  119. android:id="@+id/tv_un_read_msg"
  120. android:layout_width="wrap_content"
  121. android:layout_height="10dp"
  122. android:layout_above="@id/tv_user_contact"
  123. android:layout_marginLeft="-6dp"
  124. android:layout_marginBottom="-8dp"
  125. android:layout_toRightOf="@id/tv_user_contact"
  126. android:background="@drawable/x7_un_read_msg"
  127. android:gravity="center"
  128. android:maxEms="3"
  129. android:minWidth="10dp"
  130. android:minEms="2"
  131. android:textColor="@color/x7_white"
  132. android:textSize="8sp" />
  133. <TextView
  134. android:id="@+id/tv_user_group"
  135. android:layout_width="0dp"
  136. android:layout_height="wrap_content"
  137. android:layout_marginLeft="11dp"
  138. android:layout_weight="1"
  139. android:background="@drawable/x7_tv_account_note_bg"
  140. android:drawableLeft="@drawable/x7_im"
  141. android:drawablePadding="8dp"
  142. android:gravity="center"
  143. android:paddingLeft="13dp"
  144. android:paddingTop="7dp"
  145. android:paddingRight="13dp"
  146. android:paddingBottom="7dp"
  147. android:text="@string/x7_join_im"
  148. android:textColor="#12cdb0"
  149. android:textSize="10dp"
  150. tools:visibility="gone" />
  151. </LinearLayout>
  152. </RelativeLayout>
  153. </ScrollView>
  154. </RelativeLayout>