activity_basic_info.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. android:layout_width="match_parent"
  3. android:layout_height="match_parent"
  4. android:background="@color/bg_main"
  5. android:orientation="vertical">
  6. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent">
  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:orientation="vertical">
  16. <ImageView
  17. android:id="@+id/avatar_img"
  18. android:layout_width="160dp"
  19. android:layout_height="160dp"
  20. android:layout_gravity="center_horizontal"
  21. android:layout_marginTop="10dp"
  22. android:background="@drawable/account_avatar_bg"
  23. android:contentDescription="@string/app_name"
  24. android:paddingBottom="5.0dip"
  25. android:paddingLeft="4.0dip"
  26. android:paddingRight="6.0dip"
  27. android:paddingTop="5.0dip"
  28. android:src="@drawable/avatar_normal" />
  29. <RelativeLayout
  30. style="@style/IMTbleLine"
  31. android:layout_marginTop="10dp">
  32. <TextView
  33. android:id="@+id/name_text"
  34. style="@style/IMTbleLine_TextKey"
  35. android:drawableLeft="@drawable/resume_empty_icon"
  36. android:drawablePadding="5dp"
  37. android:text="@string/name_align" />
  38. <TextView
  39. android:id="@+id/name_tv"
  40. style="@style/IMTbleLine_TextValue"
  41. android:layout_toLeftOf="@+id/name_arrow_img"
  42. android:layout_toRightOf="@+id/name_text" />
  43. <ImageView
  44. android:id="@+id/name_arrow_img"
  45. style="@style/IMTbleLine_ArrowImg"
  46. android:contentDescription="@string/app_name"
  47. android:visibility="invisible" />
  48. </RelativeLayout>
  49. <RelativeLayout
  50. android:id="@+id/sex_rl"
  51. style="@style/IMTbleLine_UP">
  52. <TextView
  53. android:id="@+id/sex_text"
  54. style="@style/IMTbleLine_TextKey"
  55. android:drawableLeft="@drawable/resume_empty_icon"
  56. android:drawablePadding="5dp"
  57. android:text="@string/sex_align" />
  58. <TextView
  59. android:id="@+id/sex_tv"
  60. style="@style/IMTbleLine_TextValue"
  61. android:layout_toLeftOf="@+id/sex_arrow_img"
  62. android:layout_toRightOf="@+id/sex_text" />
  63. <ImageView
  64. android:id="@+id/sex_arrow_img"
  65. style="@style/IMTbleLine_ArrowImg"
  66. android:contentDescription="@string/app_name"
  67. android:visibility="invisible" />
  68. </RelativeLayout>
  69. <RelativeLayout
  70. android:id="@+id/birthday_rl"
  71. style="@style/IMTbleLine">
  72. <TextView
  73. android:id="@+id/birthday_text"
  74. style="@style/IMTbleLine_TextKey"
  75. android:drawableLeft="@drawable/resume_empty_icon"
  76. android:drawablePadding="5dp"
  77. android:text="@string/birthday" />
  78. <TextView
  79. android:id="@+id/birthday_tv"
  80. style="@style/IMTbleLine_TextValue"
  81. android:layout_toLeftOf="@+id/birthday_arrow_img"
  82. android:layout_toRightOf="@+id/birthday_text" />
  83. <ImageView
  84. android:id="@+id/birthday_arrow_img"
  85. style="@style/IMTbleLine_ArrowImg"
  86. android:contentDescription="@string/app_name"
  87. android:visibility="invisible" />
  88. </RelativeLayout>
  89. <RelativeLayout
  90. android:id="@+id/city_rl"
  91. style="@style/IMTbleLine_UP">
  92. <TextView
  93. android:id="@+id/city_text"
  94. style="@style/IMTbleLine_TextKey"
  95. android:drawableLeft="@drawable/resume_empty_icon"
  96. android:drawablePadding="5dp"
  97. android:text="@string/residence_align" />
  98. <TextView
  99. android:id="@+id/city_tv"
  100. style="@style/IMTbleLine_TextValue"
  101. android:layout_toLeftOf="@+id/city_arrow_img"
  102. android:layout_toRightOf="@+id/city_text" />
  103. <ImageView
  104. android:id="@+id/city_arrow_img"
  105. style="@style/IMTbleLine_ArrowImg"
  106. android:contentDescription="@string/app_name"
  107. android:visibility="invisible" />
  108. </RelativeLayout>
  109. <RelativeLayout
  110. android:id="@+id/tel_rl"
  111. style="@style/IMTbleLine">
  112. <TextView
  113. android:id="@+id/tel_text"
  114. style="@style/IMTbleLine_TextKey"
  115. android:drawableLeft="@drawable/resume_empty_icon"
  116. android:drawablePadding="5dp"
  117. android:text="@string/telephone" />
  118. <TextView
  119. android:id="@+id/tel_tv"
  120. style="@style/IMTbleLine_TextValue"
  121. android:layout_toLeftOf="@+id/tel_arrow_img"
  122. android:layout_toRightOf="@+id/tel_text" />
  123. <ImageView
  124. android:id="@+id/tel_arrow_img"
  125. style="@style/IMTbleLine_ArrowImg"
  126. android:contentDescription="@string/app_name"
  127. android:visibility="invisible" />
  128. </RelativeLayout>
  129. <Button
  130. android:id="@+id/next_step_btn"
  131. android:layout_width="fill_parent"
  132. android:layout_height="50dp"
  133. android:layout_marginBottom="10dp"
  134. android:layout_marginLeft="40dp"
  135. android:layout_marginRight="40dp"
  136. android:layout_marginTop="9dp"
  137. android:background="@drawable/bg_btn"
  138. android:gravity="center"
  139. android:textColor="@color/white" />
  140. <Button
  141. android:id="@+id/look_location_btn"
  142. android:layout_width="fill_parent"
  143. android:layout_height="50dp"
  144. android:layout_marginBottom="10dp"
  145. android:layout_marginLeft="40dp"
  146. android:layout_marginRight="40dp"
  147. android:background="@drawable/bg_btn"
  148. android:gravity="center"
  149. android:text="@string/look_friend_location"
  150. android:textColor="@color/white" />
  151. </LinearLayout>
  152. </ScrollView>
  153. <com.xzjmyk.pm.activity.view.DataLoadView
  154. android:id="@+id/data_load_view"
  155. android:layout_width="match_parent"
  156. android:layout_height="match_parent" />
  157. </RelativeLayout>
  158. </LinearLayout>