activity_register_user_basic_info.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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/normal_bg"
  5. android:orientation="vertical" >
  6. <ScrollView
  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:orientation="vertical" >
  13. <ImageView
  14. android:id="@+id/avatar_img"
  15. android:layout_width="90.0dip"
  16. android:layout_height="90.0dip"
  17. android:layout_gravity="center_horizontal"
  18. android:layout_marginTop="20dp"
  19. android:background="@drawable/account_avatar_bg"
  20. android:contentDescription="@string/app_name"
  21. android:paddingBottom="5.0dip"
  22. android:paddingLeft="4.0dip"
  23. android:paddingRight="6.0dip"
  24. android:paddingTop="5.0dip"
  25. android:src="@drawable/avatar_normal" />
  26. <RelativeLayout
  27. style="@style/IMTbleLine_UP"
  28. android:layout_marginTop="20dp" >
  29. <TextView
  30. android:id="@+id/name_text"
  31. style="@style/IMTbleLine_TextKey"
  32. android:drawableLeft="@drawable/resume_star_icon"
  33. android:drawablePadding="5dp"
  34. android:text="@string/name_align" />
  35. <com.xzjmyk.pm.activity.view.ClearEditText
  36. android:id="@+id/name_edit"
  37. style="@style/IMTbleLine_TextValue"
  38. android:layout_toLeftOf="@+id/name_arrow_img"
  39. android:layout_toRightOf="@+id/name_text"
  40. android:background="@null"
  41. android:hint="@string/please_input_name"
  42. android:inputType="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_select_rl"
  51. style="@style/IMTbleLine_UP" >
  52. <TextView
  53. android:id="@+id/sex_text"
  54. style="@style/IMTbleLine_TextKey"
  55. android:drawableLeft="@drawable/resume_star_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. </RelativeLayout>
  68. <RelativeLayout
  69. android:id="@+id/birthday_select_rl"
  70. style="@style/IMTbleLine_UP" >
  71. <TextView
  72. android:id="@+id/birthday_text"
  73. style="@style/IMTbleLine_TextKey"
  74. android:drawableLeft="@drawable/resume_star_icon"
  75. android:drawablePadding="5dp"
  76. android:text="@string/birthday" />
  77. <TextView
  78. android:id="@+id/birthday_tv"
  79. style="@style/IMTbleLine_TextValue"
  80. android:layout_toLeftOf="@+id/birthday_arrow_img"
  81. android:layout_toRightOf="@+id/birthday_text" />
  82. <ImageView
  83. android:id="@+id/birthday_arrow_img"
  84. style="@style/IMTbleLine_ArrowImg"
  85. android:contentDescription="@string/app_name" />
  86. </RelativeLayout>
  87. <RelativeLayout
  88. android:id="@+id/city_select_rl"
  89. style="@style/IMTbleLine_UP" >
  90. <TextView
  91. android:id="@+id/city_text"
  92. style="@style/IMTbleLine_TextKey"
  93. android:drawableLeft="@drawable/resume_star_icon"
  94. android:drawablePadding="5dp"
  95. android:text="@string/residence_align" />
  96. <TextView
  97. android:id="@+id/city_tv"
  98. style="@style/IMTbleLine_TextValue"
  99. android:layout_toLeftOf="@+id/city_arrow_img"
  100. android:layout_toRightOf="@+id/city_text" />
  101. <ImageView
  102. android:id="@+id/city_arrow_img"
  103. style="@style/IMTbleLine_ArrowImg"
  104. android:contentDescription="@string/app_name" />
  105. </RelativeLayout>
  106. <Button
  107. android:id="@+id/next_step_btn"
  108. style="@style/IMButton.Orange"
  109. android:layout_width="fill_parent"
  110. android:layout_height="wrap_content"
  111. android:layout_marginBottom="9dp"
  112. android:layout_marginLeft="9dp"
  113. android:layout_marginRight="9dp"
  114. android:layout_marginTop="9dp"
  115. android:gravity="center"
  116. android:text="@string/sure" />
  117. </LinearLayout>
  118. </ScrollView>
  119. </LinearLayout>