1
0

кака.txt 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".CartPatient">
  8. <TextView
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:gravity="center"
  12. android:text="Карта Пациента"
  13. android:layout_marginTop="61dp"
  14. android:textSize="24dp"
  15. android:textColor="@color/black"
  16. android:textStyle="bold"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. app:layout_constraintStart_toStartOf="parent"
  19. app:layout_constraintTop_toTopOf="parent"></TextView>
  20. <com.makeramen.roundedimageview.RoundedImageView
  21. android:id="@+id/profileImg"
  22. android:layout_width="148dp"
  23. android:layout_height="123dp"
  24. android:scaleType="centerCrop"
  25. android:src="@drawable/foto"
  26. android:layout_marginTop="96dp"
  27. app:layout_constraintEnd_toEndOf="parent"
  28. app:layout_constraintStart_toStartOf="parent"
  29. app:layout_constraintTop_toTopOf="parent"
  30. app:riv_oval="true" />
  31. <LinearLayout
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:orientation="vertical"
  35. android:layout_marginTop="226dp"
  36. android:layout_marginLeft="20dp"
  37. app:layout_constraintEnd_toEndOf="parent"
  38. app:layout_constraintStart_toStartOf="parent"
  39. app:layout_constraintTop_toTopOf="parent">
  40. <TextView
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:text="Без карты пациента вы не сможете заказать анализы."></TextView>
  44. <TextView
  45. android:layout_marginTop="3dp"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:text="В картах пациентов будут храниться результаты \nанализов вас и ваших близких."></TextView>
  49. </LinearLayout>
  50. <LinearLayout
  51. android:layout_width="match_parent"
  52. android:layout_height="wrap_content"
  53. android:orientation="vertical"
  54. android:layout_marginLeft="20dp"
  55. android:layout_marginRight="20dp"
  56. android:layout_marginTop="297dp"
  57. app:layout_constraintStart_toStartOf="parent"
  58. app:layout_constraintTop_toTopOf="parent">
  59. <EditText
  60. android:id="@+id/vv_Imya"
  61. android:layout_width="match_parent"
  62. android:layout_height="48dp"
  63. android:layout_gravity="center"
  64. android:layout_marginLeft="20dp"
  65. android:layout_marginRight="20dp"
  66. android:background="@drawable/vid_edit_noactive"
  67. android:hint="Имя"
  68. android:padding="10dp"
  69. android:textColorHint="@color/black"
  70. android:textSize="15dp"
  71. app:layout_constraintEnd_toEndOf="parent"
  72. app:layout_constraintStart_toStartOf="parent"
  73. tools:ignore="TextSizeCheck" />
  74. <EditText
  75. android:id="@+id/vv_Otcestvo"
  76. android:layout_width="match_parent"
  77. android:layout_height="48dp"
  78. android:layout_gravity="center"
  79. android:layout_marginLeft="20dp"
  80. android:layout_marginTop="24dp"
  81. android:layout_marginRight="20dp"
  82. android:background="@drawable/vid_edit_noactive"
  83. android:hint="Отчество"
  84. android:padding="10dp"
  85. android:textColorHint="@color/black"
  86. android:textSize="15dp"
  87. app:layout_constraintEnd_toEndOf="parent"
  88. app:layout_constraintStart_toStartOf="parent"
  89. tools:ignore="InvalidId,TextSizeCheck" />
  90. <EditText
  91. android:id="@+id/vv_Familiya"
  92. android:layout_width="match_parent"
  93. android:layout_height="48dp"
  94. android:layout_gravity="center"
  95. android:layout_marginLeft="20dp"
  96. android:layout_marginTop="24dp"
  97. android:layout_marginRight="20dp"
  98. android:background="@drawable/vid_edit_noactive"
  99. android:hint="Фамилия"
  100. android:padding="10dp"
  101. android:textColorHint="@color/black"
  102. android:textSize="15dp"
  103. app:layout_constraintEnd_toEndOf="parent"
  104. app:layout_constraintStart_toStartOf="parent"
  105. tools:ignore="InvalidId,TextSizeCheck" />
  106. <EditText
  107. android:id="@+id/vv_DR"
  108. android:layout_width="match_parent"
  109. android:layout_height="48dp"
  110. android:layout_gravity="center"
  111. android:layout_marginLeft="20dp"
  112. android:layout_marginTop="24dp"
  113. android:layout_marginRight="20dp"
  114. android:background="@drawable/vid_edit_noactive"
  115. android:hint="Дата Рождения"
  116. android:padding="10dp"
  117. android:textColorHint="@color/black"
  118. android:textSize="15dp"
  119. app:layout_constraintEnd_toEndOf="parent"
  120. app:layout_constraintStart_toStartOf="parent"
  121. tools:ignore="InvalidId,TextSizeCheck" />
  122. <EditText
  123. android:id="@+id/vv_pol"
  124. android:layout_width="match_parent"
  125. android:layout_height="48dp"
  126. android:layout_gravity="center"
  127. android:layout_marginLeft="20dp"
  128. android:layout_marginTop="24dp"
  129. android:layout_marginRight="20dp"
  130. android:background="@drawable/vid_edit_noactive"
  131. android:hint="Пол"
  132. android:padding="10dp"
  133. android:textColorHint="@color/black"
  134. android:textSize="15dp"
  135. app:layout_constraintEnd_toEndOf="parent"
  136. app:layout_constraintStart_toStartOf="parent"
  137. tools:ignore="InvalidId,TextSizeCheck" />
  138. </LinearLayout>
  139. <Button
  140. android:id="@+id/vv_button"
  141. android:layout_width="335dp"
  142. android:layout_height="56dp"
  143. android:layout_marginTop="655dp"
  144. android:background="@drawable/active_button"
  145. android:text="Сохранить"
  146. android:textColor="#FFFFFF"
  147. app:layout_constraintEnd_toEndOf="parent"
  148. app:layout_constraintStart_toStartOf="parent"
  149. app:layout_constraintTop_toTopOf="parent" />
  150. _____
  151. implementation('com.makeramen:roundedimageview:2.2.1')
  152. _____
  153. </androidx.constraintlayout.widget.ConstraintLayout>