diff --git a/android/res/layout/fragment_search.xml b/android/res/layout/fragment_search.xml index 5a1ca00300..3d8badc401 100644 --- a/android/res/layout/fragment_search.xml +++ b/android/res/layout/fragment_search.xml @@ -8,7 +8,7 @@ android:id="@+id/toolbar" layout="@layout/toolbar_with_search" android:layout_width="match_parent" - android:layout_height="wrap_content"/> + android:layout_height="?attr/actionBarSize"/> @@ -14,7 +13,6 @@ style="@style/MwmTextAppearance.Toolbar" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_gravity="center_vertical" android:layout_weight="1" android:background="@null" android:hint="@string/search" @@ -22,7 +20,7 @@ android:inputType="text" android:padding="@dimen/margin_quarter" android:singleLine="true" - android:textCursorDrawable="@drawable/cursor_drawable"/> + android:textCursorDrawable="@drawable/cursor_drawable" tools:ignore="UnusedAttribute"/> + android:background="@null" + android:minHeight="@dimen/routing_progress_size" + android:minWidth="@dimen/routing_progress_size"/> diff --git a/android/res/layout/toolbar_with_search.xml b/android/res/layout/toolbar_with_search.xml index 199b7e7f7f..ca4987900f 100644 --- a/android/res/layout/toolbar_with_search.xml +++ b/android/res/layout/toolbar_with_search.xml @@ -5,7 +5,6 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" - android:gravity="center_vertical" android:theme="@style/MwmWidget.ToolbarTheme"> 250dp - 120dp + 114dp 10dp 40dp 75dp