diff --git a/app/src/main/java/org/mozilla/fenix/home/recentbookmarks/view/RecentBookmarkItemViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/recentbookmarks/view/RecentBookmarkItemViewHolder.kt index b75d4e3eaa..3d5a67cf77 100644 --- a/app/src/main/java/org/mozilla/fenix/home/recentbookmarks/view/RecentBookmarkItemViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/recentbookmarks/view/RecentBookmarkItemViewHolder.kt @@ -6,7 +6,6 @@ package org.mozilla.fenix.home.recentbookmarks.view import android.view.View import mozilla.components.concept.storage.BookmarkNode -import mozilla.components.support.ktx.kotlin.tryGetHostFromUrl import org.mozilla.fenix.R import org.mozilla.fenix.databinding.RecentBookmarkItemBinding import org.mozilla.fenix.ext.components @@ -23,7 +22,6 @@ class RecentBookmarkItemViewHolder( val binding = RecentBookmarkItemBinding.bind(view) binding.bookmarkTitle.text = bookmark.title ?: bookmark.url - binding.bookmarkSubtitle.text = bookmark.url?.tryGetHostFromUrl() ?: bookmark.title ?: "" binding.bookmarkItem.setOnClickListener { interactor.onRecentBookmarkClicked(bookmark) diff --git a/app/src/main/res/layout/recent_bookmark_item.xml b/app/src/main/res/layout/recent_bookmark_item.xml index 5f0bc2ddd9..68b77e0398 100644 --- a/app/src/main/res/layout/recent_bookmark_item.xml +++ b/app/src/main/res/layout/recent_bookmark_item.xml @@ -2,64 +2,40 @@ - + android:padding="4dp"> - - + android:layout_width="0dp" + android:layout_height="0dp" + android:scaleType="centerCrop" + android:paddingBottom="8dp" + app:layout_constraintBottom_toTopOf="@+id/bookmark_title" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> - - + diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml index 17c42d48fb..93c8c9b80d 100644 --- a/app/src/main/res/values-night/colors.xml +++ b/app/src/main/res/values-night/colors.xml @@ -94,7 +94,6 @@ @color/photonLightGrey50 - @color/photonLightGrey50 @color/inset_dark_theme diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 598f7df0a4..c13c881a52 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -283,7 +283,6 @@ @color/photonDarkGrey05 - @color/photonDarkGrey05 diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 7dc452d011..0ed1ece7e9 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -95,11 +95,11 @@ 5dp - 128dp - 152dp + 132dp + 161dp 72dp 0dp - 4dp + 8dp diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index d88a5595bd..c1076a3d92 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -680,15 +680,6 @@ @dimen/top_sites_favicon_corner_size - - - -