2017-04-26 21:24:33 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-04-05 21:25:44 +02:00
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-04-26 21:24:33 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-05 21:25:44 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-04-26 21:24:33 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-04-05 21:25:44 +02:00
|
|
|
tools:background="?attr/colorPrimary">
|
2017-04-26 21:24:33 +02:00
|
|
|
|
2017-09-28 15:06:48 +02:00
|
|
|
<EditText
|
2017-04-26 21:24:33 +02:00
|
|
|
android:id="@+id/toolbar_search_edit_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:layout_marginRight="48dp"
|
|
|
|
android:layout_marginTop="4dp"
|
2020-04-05 21:25:44 +02:00
|
|
|
android:background="@null"
|
2017-04-26 21:24:33 +02:00
|
|
|
android:focusable="true"
|
2017-09-03 08:04:18 +02:00
|
|
|
android:focusableInTouchMode="true"
|
2019-09-20 11:04:13 +02:00
|
|
|
android:nextFocusDown="@+id/suggestions_list"
|
2017-09-03 08:04:18 +02:00
|
|
|
android:hint="@string/search"
|
2017-04-26 21:24:33 +02:00
|
|
|
android:imeOptions="actionSearch|flagNoFullscreen"
|
|
|
|
android:inputType="textFilter|textNoSuggestions"
|
|
|
|
android:maxLines="1"
|
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/toolbar_search_clear"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="right|center_vertical"
|
2020-04-05 21:25:44 +02:00
|
|
|
android:contentDescription="@string/clear"
|
2019-02-01 14:02:28 +01:00
|
|
|
android:focusable="true"
|
2019-10-05 22:57:33 +02:00
|
|
|
tools:ignore="RtlHardcoded">
|
2017-04-26 21:24:33 +02:00
|
|
|
|
2017-06-26 14:19:42 +02:00
|
|
|
<View
|
|
|
|
android:layout_width="28dp"
|
|
|
|
android:layout_height="28dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"/>
|
|
|
|
|
2017-04-26 21:24:33 +02:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:contentDescription="@string/search"
|
|
|
|
android:scaleType="fitCenter"
|
2020-03-31 09:34:05 +02:00
|
|
|
app:srcCompat="?attr/ic_close"
|
2020-05-14 17:05:09 +02:00
|
|
|
tools:ignore="RtlHardcoded" />
|
2017-04-26 21:24:33 +02:00
|
|
|
</FrameLayout>
|
|
|
|
|
2020-05-14 17:05:09 +02:00
|
|
|
</FrameLayout>
|