Skip to content

Commit

Permalink
Fix landscape layout in case that an instrument has no strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
thetwom committed May 15, 2023
1 parent 6f01348 commit c64f3d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/src/main/res/layout-land/diagrams_simple.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
android:layout_marginTop="8dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="@id/string_view"
app:layout_constraintRight_toRightOf="@id/instrument_title"
android:textColor="?attr/colorNegative"
android:text="@string/incorrect_temperament"
/>
Expand All @@ -42,7 +42,7 @@
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/incorrect_instrument_text"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="@id/string_view"
app:layout_constraintWidth_percent="0.45"
android:layout_marginLeft="12dp"
android:layout_marginRight="0dp"
android:layout_marginTop="8dp"
Expand Down Expand Up @@ -71,7 +71,7 @@
app:layout_constraintTop_toBottomOf="@id/instrument_title"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintWidth_percent="0.45"
app:layout_constraintRight_toRightOf="@id/instrument_title"
android:paddingTop="0dp"
android:paddingBottom="12dp"
android:paddingRight="0dp"
Expand Down Expand Up @@ -106,9 +106,9 @@
android:paddingBottom="12dp"
android:paddingRight="12dp"
android:paddingLeft="8dp"
app:layout_constraintBottom_toBottomOf="@id/string_view"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/string_view"
app:layout_constraintLeft_toRightOf="@id/instrument_title"
app:layout_constraintRight_toRightOf="parent"
app:frameColor="?attr/colorOnSurface"
app:frameColorOnTouch="?attr/colorPrimary"
Expand Down

0 comments on commit c64f3d5

Please sign in to comment.