Skip to content

Commit

Permalink
Swap succeeded and failed in the double number picker
Browse files Browse the repository at this point in the history
and shrink the display slightly
  • Loading branch information
deadman96385 committed Feb 21, 2024
1 parent 91663ad commit b655b23
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions app/src/main/res/layout/ui_dual_number_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
>

<Button
android:id="@+id/decrement"
Expand All @@ -24,18 +25,18 @@
<EditText
android:id="@+id/display"
android:layout_width="45dp"
android:layout_height="45dp"
android:layout_height="40dp"
android:gravity="center"
android:inputType="number"
android:padding="8dp"
android:text="@string/one"
android:textColor="@color/picker_text_color"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="Autofill,LabelFor,TouchTargetSizeCheck" />
app:autoSizeTextType="uniform"
tools:ignore="Autofill,LabelFor,TouchTargetSizeCheck"
/>

<Button
android:id="@+id/increment"
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/ui_inside_dual_number_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:text="Succeeded"
android:text="Failed"
android:textAlignment="center"
app:layout_constraintEnd_toStartOf="@+id/guideline12"
app:layout_constraintStart_toStartOf="parent"
Expand All @@ -43,7 +43,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="Failed"
android:text="Succeeded"
android:textAlignment="center"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/guideline12"
Expand Down

0 comments on commit b655b23

Please sign in to comment.