Skip to content

Commit

Permalink
fix broken display of long menu labels in help dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mtotschnig committed Feb 10, 2023
1 parent 2f2c3b6 commit 735725e
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions myExpenses/src/main/res/layout/help_dialog_action_row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
app:layout_constraintHorizontal_bias="0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintBottom_toBottomOf="@id/title"
app:layout_constraintTop_toTopOf="@id/title">

<ImageView
android:id="@+id/list_image"
Expand All @@ -52,23 +53,24 @@

<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:minHeight="32dp"
android:gravity="center_vertical"
android:textSize="15sp"
android:textStyle="bold"
android:typeface="sans"
app:layout_constraintBottom_toBottomOf="@id/list_image_container"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/list_image_container"
app:layout_constraintTop_toTopOf="@id/list_image_container"
tools:text="Command title" />
tools:text="Command title +++ " />

<TextView
android:id="@+id/help_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
app:layout_constraintTop_toBottomOf="@id/list_image_container"
app:layout_constraintTop_toBottomOf="@id/title"
tools:text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
At vero eos et accusam et justo duo dolores et ea rebum." />
Expand Down

0 comments on commit 735725e

Please sign in to comment.