user_pro_layout.xml 7.1 KB

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