116 lines
5.0 KiB
XML
116 lines
5.0 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.
|
|
-->
|
|
|
|
<layout 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"
|
|
tools:context="com.example.hpostesting.presentation.dashboard.SlideshowFragment">
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/cl_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/lab_name"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginTop="20dp"
|
|
app:layout_constraintEnd_toStartOf="@id/btn_go"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/name_edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:maxLength="17"
|
|
android:inputType="text"
|
|
android:hint="@string/lab_name" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_go"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="24dp"
|
|
android:text="@string/add"
|
|
app:cornerRadius="16dp"
|
|
app:layout_constraintBottom_toBottomOf="@id/lab_name"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="1.0"
|
|
app:layout_constraintStart_toEndOf="@id/lab_name"
|
|
app:layout_constraintTop_toTopOf="@id/lab_name" />
|
|
|
|
<TextView
|
|
android:id="@+id/title_cuvette"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="@string/select_cuvette_size"
|
|
android:textColor="@color/black"
|
|
android:textStyle="bold"
|
|
android:textSize="18sp"
|
|
app:layout_constraintTop_toBottomOf="@id/lab_name"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginStart="30dp"/>
|
|
<Spinner
|
|
android:id="@+id/spinnerCuvette"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp"
|
|
android:layout_centerInParent="true"
|
|
app:layout_constraintTop_toBottomOf="@id/title_cuvette"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginStart="30dp"
|
|
/>
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/btn_add_size"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="24dp"
|
|
android:text="@string/add"
|
|
app:cornerRadius="16dp"
|
|
app:layout_constraintBottom_toBottomOf="@id/spinnerCuvette"
|
|
app:layout_constraintStart_toEndOf="@id/spinnerCuvette"
|
|
app:layout_constraintTop_toTopOf="@id/spinnerCuvette" />
|
|
<TextView
|
|
android:id="@+id/last_updated"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:text="Last"
|
|
android:textColor="@color/black"
|
|
android:textSize="17sp"
|
|
app:layout_constraintTop_toBottomOf="@id/btn_add_size"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginStart="30dp"/>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toBottomOf="@+id/last_updated"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:layout_marginTop="10dp"/>
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</layout> |