From b79df0ba8fa762f246379f90d2dea4d4eba7e42c Mon Sep 17 00:00:00 2001 From: Gabriel Luong Date: Thu, 15 Oct 2020 15:01:21 -0400 Subject: [PATCH] For #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" />