Skip to content

Commit

Permalink
Fix padding issues when some of the icon are gone
Browse files Browse the repository at this point in the history
  • Loading branch information
tevincent committed Feb 8, 2024
1 parent ce58577 commit 202dc6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/res/layout/cardview_thread_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@
android:textSize="12sp"
android:visibility="gone"
android:layout_marginEnd="@dimen/marginStandardSmall"
app:layout_goneMarginEnd="0dp"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="@id/mailSubject"
Expand All @@ -254,6 +255,7 @@
android:layout_width="@dimen/mediumIconSize"
android:layout_height="@dimen/mediumIconSize"
android:layout_marginEnd="@dimen/marginStandardSmall"
app:layout_goneMarginEnd="0dp"
android:contentDescription="@string/contentDescriptionIconAttachments"
android:src="@drawable/ic_attachment"
android:visibility="gone"
Expand All @@ -269,6 +271,7 @@
android:layout_width="@dimen/mediumIconSize"
android:layout_height="@dimen/mediumIconSize"
android:layout_marginEnd="@dimen/marginStandardSmall"
app:layout_goneMarginEnd="0dp"
android:contentDescription="@string/contentDescriptionIconCalendar"
android:src="@drawable/ic_calendar"
android:visibility="gone"
Expand All @@ -283,6 +286,7 @@
android:layout_width="@dimen/mediumIconSize"
android:layout_height="@dimen/mediumIconSize"
android:layout_marginEnd="@dimen/marginStandardSmall"
app:layout_goneMarginEnd="0dp"
android:contentDescription="@string/contentDescriptionIconFavorite"
android:src="@drawable/ic_star_filled"
android:visibility="gone"
Expand Down

0 comments on commit 202dc6a

Please sign in to comment.