item_my_test.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. <data>
  7. <variable
  8. name="item"
  9. type="java.lang.String" />
  10. </data>
  11. <LinearLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginLeft="@dimen/d_5dp"
  15. android:layout_marginTop="-10dp"
  16. android:layout_marginRight="@dimen/d_5dp"
  17. android:background="@drawable/shadow_round_gray_bg"
  18. android:orientation="vertical">
  19. <LinearLayout
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_marginTop="@dimen/d_18dp"
  23. android:gravity="center_vertical"
  24. android:orientation="horizontal">
  25. <ImageView
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_marginLeft="@dimen/d_20dp"
  29. android:src="@drawable/my_test_date" />
  30. <com.guadou.lib_baselib.font_text_view.TextViewRegular
  31. android:layout_width="0dp"
  32. android:layout_height="wrap_content"
  33. android:layout_marginLeft="12dp"
  34. android:layout_weight="1"
  35. android:text="Swab Test Date"
  36. android:textColor="@color/input_black_text_5D"
  37. android:textSize="@dimen/d_15sp" />
  38. <com.guadou.lib_baselib.font_text_view.TextViewSBold
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginRight="@dimen/d_20dp"
  42. android:text="May 21, 2021"
  43. android:textColor="@color/input_black_text_5D"
  44. android:textSize="@dimen/d_15sp" />
  45. </LinearLayout>
  46. <LinearLayout
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="@dimen/d_18dp"
  50. android:gravity="center_vertical"
  51. android:orientation="horizontal">
  52. <ImageView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_marginLeft="@dimen/d_20dp"
  56. android:src="@drawable/my_test_result" />
  57. <com.guadou.lib_baselib.font_text_view.TextViewRegular
  58. android:layout_width="0dp"
  59. android:layout_height="wrap_content"
  60. android:layout_marginLeft="12dp"
  61. android:layout_weight="1"
  62. android:text="Result"
  63. android:textColor="@color/input_black_text_5D"
  64. android:textSize="@dimen/d_15sp" />
  65. <com.guadou.lib_baselib.font_text_view.TextViewSBold
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:layout_marginRight="@dimen/d_20dp"
  69. android:text="Negative"
  70. android:textColor="@color/input_blue_text"
  71. android:textSize="@dimen/d_15sp" />
  72. </LinearLayout>
  73. <com.guadou.lib_baselib.font_text_view.TextViewRegular
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_gravity="right"
  77. android:layout_marginTop="@dimen/d_15dp"
  78. android:layout_marginRight="@dimen/d_20dp"
  79. android:text="Your admin will contact you soon."
  80. android:textColor="#FF0000"
  81. android:textSize="16sp" />
  82. <View
  83. android:layout_width="1dp"
  84. android:layout_height="20dp" />
  85. </LinearLayout>
  86. </layout>