147 lines
5.7 KiB
XML
147 lines
5.7 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"
|
|
tools:context="com.example.hpostesting.presentation.assurance.AssuranceControlsFragment">
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_subtitle2"
|
|
style="@style/title2"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="24dp"
|
|
android:layout_marginTop="16dp"
|
|
android:textSize="22sp"
|
|
android:text="@string/assurance_controls"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
<EditText
|
|
android:id="@+id/et_readings_per_sample"
|
|
android:visibility="gone"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="32dp"
|
|
android:layout_weight="1"
|
|
android:hint="Readings per sample"
|
|
android:importantForAutofill="no"
|
|
android:inputType="number"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/tv_subtitle2" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_solutions"
|
|
android:layout_width="0dp"
|
|
android:visibility="visible"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="40dp"
|
|
android:background="@drawable/spinner_border"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/et_readings_per_sample" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_concentration"
|
|
android:layout_width="0dp"
|
|
android:visibility="gone"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="48dp"
|
|
android:background="@drawable/spinner_border"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/spinner_solutions" />
|
|
|
|
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_admin"
|
|
android:layout_width="0dp"
|
|
android:visibility="gone"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="52dp"
|
|
android:background="@drawable/spinner_border"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/spinner_concentration" />
|
|
|
|
|
|
<Spinner
|
|
android:id="@+id/spinner_volume"
|
|
android:layout_width="0dp"
|
|
android:visibility="gone"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="52dp"
|
|
android:background="@drawable/spinner_border"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="0.0"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/spinner_concentration" />
|
|
|
|
|
|
<Button
|
|
android:id="@+id/btn_submit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginTop="352dp"
|
|
android:clickable="false"
|
|
android:gravity="center"
|
|
android:text="Continue"
|
|
android:textColor="@color/white"
|
|
app:cornerRadius="16dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/et_readings_per_sample" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iv_check"
|
|
android:visibility="gone"
|
|
android:layout_width="100dp"
|
|
android:layout_height="100dp"
|
|
android:layout_marginTop="40dp"
|
|
android:importantForAccessibility="no"
|
|
android:src="@drawable/check"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/btn_submit" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:elevation="12dp"
|
|
android:indeterminate="true"
|
|
android:indeterminateDrawable="@drawable/progressbar_drawable"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|