2024-02-13 14:30:21 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2024-03-18 13:16:11 +05:30
|
|
|
<!--
|
|
|
|
|
~ // 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.
|
|
|
|
|
-->
|
|
|
|
|
|
2024-02-13 14:30:21 +05:30
|
|
|
<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.jig.JigFragment">
|
|
|
|
|
|
|
|
|
|
<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:text="Test Jig"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
2024-02-13 17:57:38 +05:30
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_app_version"
|
|
|
|
|
style="@style/title2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="24dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:text="0.0.0"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/tv_subtitle2"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_subtitle2"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
2024-02-13 14:30:21 +05:30
|
|
|
<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="Scan to get the code"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_subtitle2" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_subtitle3"
|
|
|
|
|
style="@style/title2"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="24dp"
|
|
|
|
|
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_subtitle2" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
|
android:id="@+id/btn_scan_now"
|
|
|
|
|
android:layout_width="258dp"
|
|
|
|
|
android:layout_height="56dp"
|
|
|
|
|
android:layout_margin="24dp"
|
|
|
|
|
android:drawableLeft="@drawable/baseline_qr_code_scanner_24"
|
|
|
|
|
android:text="@string/scan_now"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
app:backgroundTint="@color/blue_app_light"
|
|
|
|
|
app:cornerRadius="100dp"
|
2024-10-08 16:44:43 +05:30
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2024-02-13 14:30:21 +05:30
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_title" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tv_scan_text"
|
|
|
|
|
style="@style/title1_1"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="150dp"
|
|
|
|
|
android:layout_marginHorizontal="24dp"
|
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="no scan"
|
|
|
|
|
android:textColor="@color/black"
|
|
|
|
|
android:textSize="22sp"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btn_scan_now" />
|
|
|
|
|
|
|
|
|
|
<Button
|
2024-02-13 17:57:38 +05:30
|
|
|
android:id="@+id/btn_refresh"
|
2024-02-13 14:30:21 +05:30
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginHorizontal="16dp"
|
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
|
android:clickable="false"
|
|
|
|
|
android:gravity="center"
|
2024-02-13 17:57:38 +05:30
|
|
|
android:text="Refresh"
|
2024-02-13 14:30:21 +05:30
|
|
|
android:textColor="@color/white"
|
2024-10-08 16:44:43 +05:30
|
|
|
android:visibility="visible"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2024-02-13 14:30:21 +05:30
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2024-02-13 17:57:38 +05:30
|
|
|
app:layout_constraintTop_toBottomOf="@id/btn_scan_now" />
|
2024-02-13 14:30:21 +05:30
|
|
|
|
|
|
|
|
<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>
|