For #21621 - Add 16dp horizontal spacing to all normal browsing home items

upstream-sync
Mugurell 3 years ago committed by mergify[bot]
parent a6b4c3e370
commit 2eb5fe2159

@ -9,8 +9,8 @@
style="@style/OnboardingCardLight"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/cfr_background_gradient"
android:padding="0dp">
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:background="@drawable/cfr_background_gradient">
<TextView
android:id="@+id/tip_header_text"

@ -7,6 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:layout_marginTop="40dp">
<androidx.appcompat.widget.AppCompatTextView

@ -7,6 +7,7 @@
android:id="@+id/item_collection"
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:layout_marginTop="12dp"
android:background="@drawable/card_list_row_background"
android:clickable="true"

@ -7,6 +7,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:clipChildren="false"
android:clipToPadding="false"
android:orientation="vertical">

@ -6,6 +6,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:orientation="vertical">
<androidx.viewpager2.widget.ViewPager2

@ -9,6 +9,7 @@
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:background="?android:attr/selectableItemBackground">

@ -7,6 +7,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:layout_marginTop="40dp">
<androidx.appcompat.widget.AppCompatTextView

@ -7,6 +7,7 @@
android:id="@+id/no_collections_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:layout_marginTop="40dp"
android:layout_marginBottom="12dp"
android:background="@drawable/empty_session_control_background"

@ -2,11 +2,11 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:layout_marginTop="40dp">
<androidx.appcompat.widget.AppCompatTextView

@ -2,9 +2,9 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<mozilla.components.ui.widgets.WidgetSiteItemView
xmlns:android="http://schemas.android.com/apk/res/android"
<mozilla.components.ui.widgets.WidgetSiteItemView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/site_list_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/home_item_horizontal_margin"
android:minHeight="@dimen/mozac_widget_site_item_height" />

Loading…
Cancel
Save