2023-05-26 01:22:38 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2023-05-30 08:48:59 +05:30
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2023-05-26 01:22:38 +05:30
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_title"
|
|
|
|
|
style="@style/title1"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="24dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="@string/list_of_patients"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_not_available"
|
|
|
|
|
style="@style/title1_1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
|
|
android:layout_marginTop="56dp"
|
|
|
|
|
android:text="@string/no_patient_records_found_to_test_please_add_one_from_below"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_title" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2023-06-03 19:10:48 +05:30
|
|
|
android:id="@+id/recycler_view"
|
2023-05-26 01:22:38 +05:30
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_margin="16dp"
|
2023-06-08 19:27:34 +05:30
|
|
|
android:scrollbars="vertical"
|
2023-05-30 08:48:59 +05:30
|
|
|
app:layout_constraintBottom_toTopOf="@id/btn_add"
|
2023-05-26 01:22:38 +05:30
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
|
|
|
|
tools:listitem="@layout/table_item" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
2023-05-30 08:48:59 +05:30
|
|
|
android:id="@+id/btn_add"
|
2023-05-26 01:22:38 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
|
android:drawableLeft="@drawable/baseline_add_24"
|
|
|
|
|
android:text="@string/add"
|
2023-05-30 08:48:59 +05:30
|
|
|
android:textColor="@color/white"
|
2023-05-26 01:22:38 +05:30
|
|
|
app:cornerRadius="16dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/btn_test"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
|
android:drawableLeft="@drawable/test_tube"
|
|
|
|
|
android:text="@string/test"
|
2023-05-30 08:48:59 +05:30
|
|
|
android:textColor="@color/white"
|
2023-05-26 01:22:38 +05:30
|
|
|
app:cornerRadius="16dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</layout>
|