From ff62ffe70ae1a4c2900ca6eb0738c143417f10cc Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Fri, 8 Oct 2021 12:03:26 -0400 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/21809 - Adjust the padding between the Pocket section --- .../viewholders/pocket/PocketStoriesViewHolder.kt | 2 +- app/src/main/res/layout/customize_home_list_item.xml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/pocket/PocketStoriesViewHolder.kt b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/pocket/PocketStoriesViewHolder.kt index 358e269e7b..3d09211e2e 100644 --- a/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/pocket/PocketStoriesViewHolder.kt +++ b/app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/pocket/PocketStoriesViewHolder.kt @@ -97,7 +97,7 @@ fun PocketStories( } } - Column(modifier = Modifier.padding(vertical = 44.dp)) { + Column(modifier = Modifier.padding(top = 72.dp)) { SectionHeader( text = stringResource(R.string.pocket_stories_header_1), modifier = Modifier diff --git a/app/src/main/res/layout/customize_home_list_item.xml b/app/src/main/res/layout/customize_home_list_item.xml index 4a9dde779d..b6c8658af0 100644 --- a/app/src/main/res/layout/customize_home_list_item.xml +++ b/app/src/main/res/layout/customize_home_list_item.xml @@ -8,9 +8,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingVertical="16dp" android:layout_marginHorizontal="@dimen/home_item_horizontal_margin" - android:layout_marginTop="24dp" + android:layout_marginTop="68dp" android:background="?android:attr/selectableItemBackground">