diff --git a/app/src/main/res/drawable/home_search_background_normal.xml b/app/src/main/res/drawable/home_search_background_normal.xml index 405739517..fcc500614 100644 --- a/app/src/main/res/drawable/home_search_background_normal.xml +++ b/app/src/main/res/drawable/home_search_background_normal.xml @@ -3,10 +3,7 @@ - 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/. --> - - - + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index 135ad0550..8a4e6ebdd 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -65,8 +65,9 @@ @@ -75,11 +76,8 @@ android:id="@+id/toolbar_wrapper" android:transitionName="toolbar_wrapper_transition" android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_marginStart="8dp" - android:layout_marginTop="16dp" - android:layout_marginBottom="16dp" - android:layout_marginEnd="8dp" + android:layout_height="40dp" + android:layout_margin="8dp" android:background="@drawable/home_search_background_normal" android:clickable="true" android:contentDescription="@string/search_hint" @@ -93,7 +91,8 @@ android:id="@+id/search_engine_icon" android:layout_width="24dp" android:layout_height="24dp" - android:layout_margin="12dp" + android:layout_marginStart="8dp" + android:layout_gravity="center_vertical" android:clickable="false" android:focusable="false" android:importantForAccessibility="no" /> @@ -103,12 +102,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:layout_marginStart="47dp" + android:layout_marginStart="40dp" android:clickable="false" android:focusable="false" android:importantForAccessibility="no" - android:paddingStart="12dp" - android:paddingEnd="12dp" android:text="@string/search_hint" android:textColor="?primaryText" android:textSize="15sp" /> @@ -116,8 +113,8 @@