Updated UI

This commit is contained in:
vsuryakumar
2023-01-27 13:21:36 +05:30
parent b8789d59bb
commit 58fffded8b
4 changed files with 25 additions and 17 deletions

View File

@@ -51,19 +51,20 @@
android:layout_margin="16dp"
android:clickable="false"
android:text="@string/set_reference"
android:textColor="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_subtitle2" />
<Button
android:id="@+id/btn_read"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/read"
android:layout_margin="16dp"
android:clickable="false"
app:layout_constraintTop_toBottomOf="@id/btn_set_reference"
app:layout_constraintStart_toStartOf="parent" />
<!-- <Button-->
<!-- android:id="@+id/btn_read"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/read"-->
<!-- android:layout_margin="16dp"-->
<!-- android:clickable="false"-->
<!-- app:layout_constraintTop_toBottomOf="@id/btn_set_reference"-->
<!-- app:layout_constraintStart_toStartOf="parent" />-->
<ProgressBar
android:id="@+id/progressBar"

View File

@@ -69,7 +69,7 @@
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:drawablePadding="8dp"
android:text="@string/enter_sample_details"
android:text="@string/enter_patient_details"
app:drawableStartCompat="@drawable/ic_baseline_create_24"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -80,7 +80,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:hint="@string/sample_name"
android:hint="@string/patient_name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_title_sample">
@@ -191,7 +191,7 @@
android:layout_marginHorizontal="16dp"
android:layout_marginTop="24dp"
android:clickable="false"
android:text="@string/acquire"
android:text="@string/start_now"
android:textColor="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -215,6 +215,7 @@
android:indeterminate="true"
android:indeterminateDrawable="@drawable/progressbar_drawable"
android:visibility="gone"
android:elevation="12dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View File

@@ -39,9 +39,9 @@
<string name="acquire">Acquire</string>
<string name="enter_sample_details">Enter Sample Details</string>
<string name="sample_name">Sample Name</string>
<string name="age">Age</string>
<string name="enter_patient_details">Enter Patient Details</string>
<string name="patient_name">Patient Name</string>
<string name="age">Age in years</string>
<string name="gender">Gender</string>
<string name="name_error">Name can\'t be empty</string>
<string name="age_error">Age can\'t be empty</string>
@@ -57,5 +57,6 @@
<string name="download_report">Download\nReport</string>
<string name="home">Home</string>
<string name="new_test">New Test</string>
<string name="start_now">Start Now</string>
</resources>