activity_pensonal_appointment_make.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:binding="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. tools:ignore="RtlHardcoded">
  7. <data>
  8. <variable
  9. name="click"
  10. type="com.hongyegroup.cpt_pensonal.ui.activity.PensonalAppointmentMakeActivity.ClickProxy" />
  11. <import type="android.text.TextUtils" />
  12. </data>
  13. <LinearLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"
  16. android:background="@color/page_bg"
  17. android:orientation="vertical">
  18. <com.guadou.lib_baselib.view.titlebar.EasyTitleBar
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content"
  21. app:Easy_title="Appointment Date &amp; Time" />
  22. <androidx.core.widget.NestedScrollView
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:overScrollMode="never"
  26. android:scrollbars="none">
  27. <LinearLayout
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_marginLeft="@dimen/d_8dp"
  31. android:layout_marginRight="@dimen/d_8dp"
  32. android:orientation="vertical">
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:background="@drawable/shadow_round_gray_bg"
  37. android:orientation="vertical">
  38. <com.guadou.lib_baselib.font_text_view.TextViewSBold
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginLeft="@dimen/d_22dp"
  42. android:layout_marginTop="@dimen/d_35dp"
  43. android:text="Select Date"
  44. android:textColor="@color/input_black_text_5D"
  45. android:textSize="23sp" />
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_gravity="center_vertical"
  50. android:layout_marginTop="35dp"
  51. android:orientation="horizontal">
  52. <com.guadou.lib_baselib.font_text_view.TextViewRegular
  53. android:id="@+id/tv_select_date"
  54. android:layout_width="0dp"
  55. android:layout_height="wrap_content"
  56. android:layout_marginLeft="@dimen/d_22dp"
  57. android:layout_weight="1"
  58. android:text="26 May 2021"
  59. android:textColor="@color/input_black_text_5D"
  60. android:textSize="16sp" />
  61. <ImageView
  62. android:layout_width="wrap_content"
  63. android:layout_height="wrap_content"
  64. android:layout_marginRight="@dimen/d_22dp"
  65. android:src="@drawable/make_appointment_date_icon"
  66. binding:clicks="@{click.pickerData}" />
  67. </LinearLayout>
  68. <View
  69. android:layout_width="wrap_content"
  70. android:layout_height="1dp"
  71. android:layout_marginLeft="@dimen/d_22dp"
  72. android:layout_marginTop="@dimen/d_15dp"
  73. android:layout_marginRight="@dimen/d_22dp"
  74. android:background="#FFD9E1ED" />
  75. <View
  76. android:layout_width="1dp"
  77. android:layout_height="25dp" />
  78. </LinearLayout>
  79. <LinearLayout
  80. android:layout_width="match_parent"
  81. android:layout_height="wrap_content"
  82. android:layout_marginTop="-5dp"
  83. android:background="@drawable/shadow_round_gray_bg"
  84. android:orientation="vertical">
  85. <com.guadou.lib_baselib.font_text_view.TextViewSBold
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:layout_marginLeft="@dimen/d_22dp"
  89. android:layout_marginTop="@dimen/d_35dp"
  90. android:text="Select Time"
  91. android:textColor="@color/input_black_text_5D"
  92. android:textSize="23sp" />
  93. <androidx.recyclerview.widget.RecyclerView
  94. android:id="@+id/recyclerView"
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:layout_marginLeft="@dimen/d_20dp"
  98. android:layout_marginRight="@dimen/d_5dp"
  99. android:overScrollMode="never"
  100. android:scrollbars="none" />
  101. <View
  102. android:layout_width="1dp"
  103. android:layout_height="30dp" />
  104. </LinearLayout>
  105. <LinearLayout
  106. android:layout_width="match_parent"
  107. android:layout_height="wrap_content"
  108. android:layout_marginTop="-5dp"
  109. android:background="@drawable/shadow_round_gray_bg"
  110. android:gravity="center_horizontal"
  111. android:orientation="vertical">
  112. <com.guadou.lib_baselib.font_text_view.TextViewSBold
  113. android:layout_width="wrap_content"
  114. android:layout_height="wrap_content"
  115. android:layout_marginTop="@dimen/d_25dp"
  116. android:text="26 May 2021 14:00"
  117. android:textColor="@color/input_black_text_5D"
  118. android:textSize="18sp" />
  119. <com.guadou.lib_baselib.font_text_view.TextViewRegular
  120. android:layout_width="match_parent"
  121. android:layout_height="43dp"
  122. android:layout_marginLeft="@dimen/d_22dp"
  123. android:layout_marginTop="@dimen/d_18dp"
  124. android:layout_marginRight="@dimen/d_22dp"
  125. android:background="@drawable/shape_btn_blue_3round_bg"
  126. android:gravity="center"
  127. android:text="Submit"
  128. android:textColor="@color/white"
  129. android:textSize="@dimen/d_16sp"
  130. binding:clicks="@{click.doSubmit}" />
  131. <View
  132. android:layout_width="1dp"
  133. android:layout_height="20dp" />
  134. </LinearLayout>
  135. <View
  136. android:layout_width="1dp"
  137. android:layout_height="30dp" />
  138. </LinearLayout>
  139. </androidx.core.widget.NestedScrollView>
  140. </LinearLayout>
  141. </layout>