include_add_bottom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <View
  6. android:layout_width="match_parent"
  7. android:layout_height="10dp" />
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="vertical">
  12. <RelativeLayout
  13. android:id="@+id/name_rl"
  14. style="@style/item_menu">
  15. <TextView
  16. android:id="@+id/tag_book_name"
  17. style="@style/item_menu_tag"
  18. android:layout_alignParentLeft="true"
  19. android:layout_alignParentStart="true"
  20. android:layout_alignParentTop="true"
  21. android:gravity="center_vertical"
  22. android:text="@string/service_name" />
  23. <EditText
  24. android:id="@+id/et_book_name"
  25. style="@style/item_menu_input"
  26. android:layout_width="290dp"
  27. android:layout_toRightOf="@id/tag_book_name"
  28. android:drawablePadding="6dp"
  29. android:ellipsize="end"
  30. android:hint="@string/common_input2" />
  31. </RelativeLayout>
  32. <RelativeLayout
  33. android:id="@+id/sex_rl"
  34. style="@style/item_menu">
  35. <TextView
  36. android:id="@+id/tag_book_sex"
  37. style="@style/item_menu_tag"
  38. android:layout_alignParentLeft="true"
  39. android:layout_alignParentStart="true"
  40. android:layout_alignParentTop="true"
  41. android:gravity="center_vertical"
  42. android:text="性别" />
  43. <RadioGroup
  44. android:id="@+id/rg_sex"
  45. android:layout_width="match_parent"
  46. android:layout_height="match_parent"
  47. android:gravity="right|center_vertical"
  48. android:layout_toRightOf="@+id/tag_book_sex"
  49. android:orientation="horizontal" >
  50. <RadioButton
  51. android:id="@+id/rb_boy"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:layout_marginLeft="130dp"
  55. android:checked="true"
  56. android:button="@null"
  57. android:drawableLeft="@drawable/oa_rb_button_bg"
  58. android:text="先生" />
  59. <RadioButton
  60. android:id="@+id/rb_girl"
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63. android:gravity="right"
  64. android:layout_marginLeft="20dp"
  65. android:button="@null"
  66. android:drawableLeft="@drawable/oa_rb_button_bg"
  67. android:text="女士" />
  68. </RadioGroup>
  69. </RelativeLayout>
  70. <RelativeLayout
  71. android:id="@+id/phone_rl"
  72. style="@style/item_menu">
  73. <TextView
  74. android:id="@+id/tag_book_phone"
  75. style="@style/item_menu_tag"
  76. android:layout_alignParentLeft="true"
  77. android:layout_alignParentStart="true"
  78. android:layout_alignParentTop="true"
  79. android:gravity="center_vertical"
  80. android:text="@string/service_phone" />
  81. <EditText
  82. android:id="@+id/et_book_phone"
  83. style="@style/item_menu_input"
  84. android:layout_width="wrap_content"
  85. android:drawableLeft="@drawable/icon_tel"
  86. android:drawablePadding="2dp"
  87. android:ellipsize="end"
  88. android:hint="@string/common_input2"
  89. android:inputType="phone"
  90. android:textColor="#0CB88C" />
  91. </RelativeLayout>
  92. <RelativeLayout
  93. android:id="@+id/notes_rl"
  94. android:layout_marginTop="17dp"
  95. android:layout_height="wrap_content"
  96. style="@style/item_menu"
  97. android:layout_alignParentTop="true"
  98. android:layout_centerHorizontal="true">
  99. <TextView
  100. android:id="@+id/tag_book_notes"
  101. style="@style/item_menu_tag"
  102. android:layout_width="50dp"
  103. android:layout_height="wrap_content"
  104. android:layout_alignParentLeft="true"
  105. android:layout_alignParentStart="true"
  106. android:layout_alignParentTop="true"
  107. android:gravity="center_vertical"
  108. android:text="@string/service_notes" />
  109. <EditText
  110. android:id="@+id/et_book_notes"
  111. style="@style/item_menu_input"
  112. android:gravity="top|left"
  113. android:layout_width="match_parent"
  114. android:layout_height="100dp"
  115. android:paddingTop="2dp"
  116. android:layout_toRightOf="@id/tag_book_notes"
  117. android:drawablePadding="6dp"
  118. android:hint="请输入您的要求,我们会尽量满足" />
  119. </RelativeLayout>
  120. </LinearLayout>
  121. <RelativeLayout
  122. android:layout_width="match_parent"
  123. android:layout_height="match_parent"
  124. android:layout_marginBottom="30dp"
  125. android:layout_marginTop="60dp">
  126. <Button
  127. android:id="@+id/submit_btn"
  128. android:layout_width="match_parent"
  129. android:layout_height="wrap_content"
  130. android:layout_alignParentBottom="true"
  131. android:layout_marginBottom="10dp"
  132. android:layout_marginLeft="20dp"
  133. android:layout_marginRight="20dp"
  134. android:background="@drawable/bg_bule_btn"
  135. android:padding="10dp"
  136. android:text="@string/app_button_commit"
  137. android:textColor="@color/white"
  138. android:textSize="@dimen/text_main" />
  139. </RelativeLayout>
  140. </LinearLayout>