Skip to content

Commit

Permalink
fix controls layout in landscape
Browse files Browse the repository at this point in the history
the warning wasn't well positioned
  • Loading branch information
RobozinhoD committed Oct 2, 2024
1 parent b481182 commit 66f2104
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions AnkiDroid/src/main/res/layout/gesture_picker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"
tools:layout_height="500dp"
tools:layout_width="400dp"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand All @@ -42,6 +40,7 @@
android:gravity="center_horizontal"
android:spinnerMode="dropdown"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/gestureDisplay"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@id/warning"/>

Expand All @@ -55,7 +54,7 @@
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/spinner_gesture"
app:layout_constraintBottom_toBottomOf="parent"
android:drawableStart="@drawable/ic_warning"
android:drawableTint="?attr/colorError"
android:drawablePadding="4dp"
Expand Down

0 comments on commit 66f2104

Please sign in to comment.