381 lines
17 KiB
XML
381 lines
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ // Copyright (c) 2024 ShanMukha Innovations Pvt. Ltd. All rights reserved.
|
|
~ // Notice: All information contained herein is, and remains
|
|
~ // the property of ShanMukha Innovations Pvt. Ltd. and its suppliers,
|
|
~ // if any. The intellectual and technical concepts contained
|
|
~ // herein are proprietary to ShanMukha Innovations Pvt. Ltd.
|
|
~ // and its suppliers and may be covered by Indian and Foreign Patents,
|
|
~ // patents in process, and are protected by trade secret or copyright law.
|
|
~ // Dissemination of this information or reproduction of this material
|
|
~ // is strictly forbidden unless prior written permission is obtained
|
|
~ // from ShanMukha Innovations Pvt. Ltd.
|
|
-->
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<TextView
|
|
android:id="@+id/pendingTest"
|
|
style="@style/title1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:visibility="gone"
|
|
android:text="@string/all_registered_user_are_tested_successfully"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/downloadCSV"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="32dp"
|
|
android:visibility="gone"
|
|
android:backgroundTint="@color/primary"
|
|
android:contentDescription="@string/downloadcsv"
|
|
android:src="@drawable/download_csv"
|
|
app:elevation="1dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/internetNotAvailableCL"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:visibility="visible"
|
|
android:padding="20dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/internetIcon"
|
|
android:layout_width="33dp"
|
|
android:layout_height="33dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:src="@drawable/off"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
/>
|
|
<ImageView
|
|
android:id="@+id/btnLogout1"
|
|
android:layout_width="33dp"
|
|
android:layout_height="33dp"
|
|
android:layout_marginEnd="10dp"
|
|
android:src="@drawable/baseline_logout_24"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tv_title_no_internet"
|
|
style="@style/title1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/internet_not_available_please_enter_the_user_id_manually"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/btnLogout1"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/til_name"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginHorizontal="24dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_title_no_internet">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/userId"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:maxLength="18"
|
|
android:inputType="textCapCharacters"
|
|
android:hint="@string/sample_id" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/til_age"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginHorizontal="24dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/til_name">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/age"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:maxLength="2"
|
|
android:inputType="number"
|
|
android:hint="@string/age" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/til_blood_group"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:layout_marginTop="24dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/til_age">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/et_blood_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/select_blood_group"
|
|
android:inputType="none"
|
|
android:labelFor="@id/til_blood_group"
|
|
app:simpleItems="@array/blood_group" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_submit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="54dp"
|
|
android:layout_marginEnd="54dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginBottom="10dp"
|
|
android:textColor="@color/white"
|
|
android:text="@string/submit"
|
|
app:cornerRadius="100dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/til_blood_group" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rv_order_offline"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:visibility="gone"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/btn_submit"
|
|
tools:listitem="@layout/offline_user_list_view" />
|
|
|
|
|
|
<!-- <ImageView-->
|
|
<!-- android:id="@+id/btnSaveLocal"-->
|
|
<!-- android:layout_width="30dp"-->
|
|
<!-- android:layout_height="30dp"-->
|
|
<!-- android:layout_marginEnd="10dp"-->
|
|
<!-- android:src="@drawable/downloads"-->
|
|
<!-- android:visibility="gone"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="@+id/rv_order_offline"-->
|
|
<!-- app:layout_constraintStart_toStartOf="parent" />-->
|
|
<TextView
|
|
android:id="@+id/labelQuickCapture"
|
|
style="@style/title1_1"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/quick_capture"
|
|
app:layout_constraintBottom_toTopOf="@+id/btnNewKitoffline"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
/>
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/btnQuickCapture"
|
|
android:visibility="gone"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:backgroundTint="@color/primary"
|
|
android:contentDescription="Capture measurements quickly"
|
|
android:src="@drawable/flask"
|
|
app:elevation="1dp"
|
|
app:layout_constraintBottom_toTopOf="@+id/labelQuickCapture"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/label1"
|
|
style="@style/title1_1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/new_kit"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/btnNewKitoffline"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
android:backgroundTint="@color/primary"
|
|
android:contentDescription="@string/new_kit"
|
|
android:src="@drawable/ic_add"
|
|
app:elevation="1dp"
|
|
app:layout_constraintBottom_toTopOf="@+id/label1"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
<!-- android:id="@+id/internetAvailableCL"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="match_parent"-->
|
|
<!-- android:visibility="gone"-->
|
|
<!-- android:padding="24dp">-->
|
|
|
|
<!-- <TextView-->
|
|
<!-- android:id="@+id/tv_title"-->
|
|
<!-- style="@style/title1"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="@string/user_list"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
|
<!-- <ImageView-->
|
|
<!-- android:id="@+id/uploadData"-->
|
|
<!-- android:layout_width="50dp"-->
|
|
<!-- android:layout_height="50dp"-->
|
|
<!-- android:src="@drawable/upload_data"-->
|
|
<!-- android:visibility="gone"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title" />-->
|
|
<!-- <ImageView-->
|
|
<!-- android:id="@+id/btnLogout"-->
|
|
<!-- android:layout_width="30dp"-->
|
|
<!-- android:layout_height="30dp"-->
|
|
<!-- android:layout_marginEnd="10dp"-->
|
|
<!-- android:src="@drawable/baseline_logout_24"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="@+id/tv_title"-->
|
|
<!-- app:layout_constraintEnd_toStartOf="@+id/uploadData"-->
|
|
<!-- app:layout_constraintTop_toTopOf="@+id/tv_title" />-->
|
|
|
|
<!-- <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.cardview.widget.CardView-->
|
|
<!-- android:id="@+id/cardView4"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- app:cardElevation="0dp"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@+id/tv_title"-->
|
|
<!-- tools:layout_editor_absoluteX="24dp">-->
|
|
|
|
<!-- <androidx.constraintlayout.widget.ConstraintLayout-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="match_parent">-->
|
|
|
|
<!-- <androidx.appcompat.widget.SearchView-->
|
|
<!-- android:id="@+id/search_product"-->
|
|
<!-- android:layout_width="match_parent"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_margin="10dp"-->
|
|
<!-- android:background="@drawable/edit_text_background"-->
|
|
<!-- android:inputType="text"-->
|
|
<!-- app:iconifiedByDefault="false"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
|
|
|
<!-- <requestFocus />-->
|
|
|
|
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
|
|
<!-- </androidx.cardview.widget.CardView>-->
|
|
|
|
<!-- <RadioGroup-->
|
|
<!-- android:id="@+id/radioGroup"-->
|
|
<!-- android:layout_width="0dp"-->
|
|
<!-- android:orientation="horizontal"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@+id/cardView4">-->
|
|
|
|
<!-- <RadioButton-->
|
|
<!-- android:id="@+id/userIdRadioButton"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:checked="true"-->
|
|
<!-- android:text="@string/user_id" />-->
|
|
|
|
<!-- <RadioButton-->
|
|
<!-- android:id="@+id/abhaIdRadioButton"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="@string/abha_id"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@id/userIdRadioButton" />-->
|
|
|
|
<!-- <RadioButton-->
|
|
<!-- android:id="@+id/aadharIdRadioButton"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="@string/aadhar_id"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@id/abhaIdRadioButton" />-->
|
|
|
|
<!-- </RadioGroup>-->
|
|
|
|
<!-- <androidx.recyclerview.widget.RecyclerView-->
|
|
<!-- android:id="@+id/rv_order"-->
|
|
<!-- android:layout_width="0dp"-->
|
|
<!-- android:layout_height="0dp"-->
|
|
<!-- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
|
<!-- app:layout_constraintTop_toBottomOf="@+id/radioGroup"-->
|
|
<!-- tools:listitem="@layout/user_item_view"/>-->
|
|
|
|
<!-- <TextView-->
|
|
<!-- android:id="@+id/label"-->
|
|
<!-- style="@style/title1_1"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:text="@string/new_kit"-->
|
|
<!-- app:layout_constraintBottom_toTopOf="@+id/btnNewKit"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
|
|
|
<!-- <com.google.android.material.floatingactionbutton.FloatingActionButton-->
|
|
<!-- android:id="@+id/btnNewKit"-->
|
|
<!-- android:layout_width="wrap_content"-->
|
|
<!-- android:layout_height="wrap_content"-->
|
|
<!-- android:layout_margin="8dp"-->
|
|
<!-- android:backgroundTint="@color/primary"-->
|
|
<!-- android:contentDescription="@string/new_kit"-->
|
|
<!-- android:src="@drawable/ic_add"-->
|
|
<!-- app:elevation="1dp"-->
|
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
|
<!-- app:layout_constraintEnd_toEndOf="parent" />-->
|
|
|
|
|
|
<!-- </androidx.constraintlayout.widget.ConstraintLayout>-->
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |