From 19b4a4ef5ba6f1b03f3ad4b9421ed9ab6385e8b7 Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Thu, 15 Oct 2020 15:01:21 -0400 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/14922: Use padding instead of margin to use the full screen width for the "Add search engine" button --- .../layout/preference_search_add_engine.xml | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/app/src/main/res/layout/preference_search_add_engine.xml b/app/src/main/res/layout/preference_search_add_engine.xml index df0663e1c2..32d33ab8b3 100644 --- a/app/src/main/res/layout/preference_search_add_engine.xml +++ b/app/src/main/res/layout/preference_search_add_engine.xml @@ -2,37 +2,39 @@ - - + android:paddingStart="@dimen/top_bar_alignment_margin_start" + tools:ignore="RtlSymmetry"> + + app:srcCompat="@drawable/ic_new" /> + + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@id/add_icon" + app:layout_constraintTop_toTopOf="parent" />