Skip to content

Commit

Permalink
Improve text wrapping on the "Review Me" card in multi-column layout
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Sep 14, 2024
1 parent 76cba65 commit 1bc81a6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions app/src/main/res/layout/dashboard_review_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

<ImageView
android:id="@+id/icon"
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_width="56dp"
android:layout_height="56dp"
android:src="@drawable/sdm_happy"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toBottomOf="@id/body"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="@id/body" />

<com.google.android.material.textview.MaterialTextView
android:id="@+id/body"
Expand Down Expand Up @@ -51,14 +51,13 @@
style="@style/DashboardCardButton.Flat"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:ems="6"
android:text="@string/review_app_dismiss_action"
app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/review_action"
app:layout_constraintStart_toEndOf="@id/icon"
app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/body" />

</androidx.constraintlayout.widget.ConstraintLayout>
Expand Down

0 comments on commit 1bc81a6

Please sign in to comment.