activity_basic_info.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_alignParentBottom="true"
  13. android:layout_marginBottom="5dp"
  14. android:orientation="horizontal">
  15. <TextView
  16. android:id="@+id/do_next_tv"
  17. android:layout_width="0dp"
  18. android:drawablePadding="10dp"
  19. android:drawableTop="@drawable/phone"
  20. android:layout_height="wrap_content"
  21. android:gravity="center"
  22. android:textColor="@color/text_hine"
  23. android:textSize="@dimen/text_main"
  24. android:layout_weight="1" />
  25. <TextView
  26. android:id="@+id/push_task_tv"
  27. android:layout_width="0dp"
  28. android:drawablePadding="10dp"
  29. android:drawableTop="@drawable/phone"
  30. android:layout_height="wrap_content"
  31. android:gravity="center"
  32. android:textColor="@color/text_hine"
  33. android:textSize="@dimen/text_main"
  34. android:layout_weight="1" />
  35. </LinearLayout>
  36. <LinearLayout
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:orientation="vertical">
  40. <FrameLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="250dp">
  43. <ImageView
  44. android:id="@+id/max_img"
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:alpha="0.16"
  48. android:scaleType="fitXY" />
  49. <RelativeLayout
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_gravity="center">
  53. <ImageView
  54. android:id="@+id/avatar_img"
  55. android:layout_width="80dp"
  56. android:layout_height="80dp"
  57. android:background="@drawable/account_avatar_bg"
  58. android:contentDescription="@string/app_name"
  59. android:src="@drawable/avatar_normal" />
  60. <TextView
  61. android:id="@+id/name_tv"
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_below="@id/avatar_img"
  65. android:layout_centerHorizontal="true"
  66. android:layout_marginTop="10dp"
  67. android:textColor="@color/text_main"
  68. android:textSize="@dimen/text_main" />
  69. <TextView
  70. android:id="@+id/sub_tv"
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"
  73. android:layout_below="@id/name_tv"
  74. android:layout_centerHorizontal="true"
  75. android:layout_marginTop="10dp"
  76. android:textColor="@color/text_main"
  77. android:textSize="@dimen/text_main" />
  78. </RelativeLayout>
  79. </FrameLayout>
  80. <View
  81. android:layout_width="match_parent"
  82. android:layout_height="2px"
  83. android:background="@color/item_line" />
  84. <RelativeLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="@dimen/item_height"
  87. android:paddingLeft="20dp"
  88. android:paddingRight="20dp">
  89. <TextView
  90. android:id="@+id/phone_tag"
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_centerVertical="true"
  94. android:text="手机"
  95. android:textColor="@color/text_main"
  96. android:textSize="@dimen/text_main" />
  97. <TextView
  98. android:id="@+id/phone_tv"
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:layout_centerVertical="true"
  102. android:layout_marginLeft="30dp"
  103. android:layout_toRightOf="@id/phone_tag"
  104. android:textColor="@color/text_hine"
  105. android:textSize="@dimen/text_hine" />
  106. <ImageView
  107. android:id="@+id/phone_img"
  108. android:layout_width="wrap_content"
  109. android:layout_height="wrap_content"
  110. android:layout_alignParentRight="true"
  111. android:layout_alignTop="@id/phone_tag"
  112. android:src="@drawable/phone" />
  113. </RelativeLayout>
  114. <View
  115. android:layout_width="match_parent"
  116. android:layout_height="2px"
  117. android:background="@color/item_line" />
  118. <RelativeLayout
  119. android:layout_width="match_parent"
  120. android:layout_height="@dimen/item_height"
  121. android:paddingLeft="20dp"
  122. android:paddingRight="20dp">
  123. <TextView
  124. android:id="@+id/email_tag"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_centerVertical="true"
  128. android:text="邮箱"
  129. android:textColor="@color/text_main"
  130. android:textSize="@dimen/text_main" />
  131. <TextView
  132. android:id="@+id/email_tv"
  133. android:layout_width="wrap_content"
  134. android:layout_height="wrap_content"
  135. android:layout_centerVertical="true"
  136. android:layout_marginLeft="30dp"
  137. android:layout_toRightOf="@id/email_tag"
  138. android:textColor="@color/text_hine"
  139. android:textSize="@dimen/text_hine" />
  140. <ImageView
  141. android:id="@+id/email_img"
  142. android:layout_width="wrap_content"
  143. android:layout_height="wrap_content"
  144. android:layout_alignParentRight="true"
  145. android:layout_alignTop="@id/email_tag"
  146. android:src="@drawable/phone" />
  147. </RelativeLayout>
  148. <View
  149. android:layout_width="match_parent"
  150. android:layout_height="2px"
  151. android:background="@color/item_line" />
  152. </LinearLayout>
  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. android:visibility="gone" />
  158. </RelativeLayout>
  159. </LinearLayout>