2017-04-26 19:24:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2017-09-28 13:06:48 +00:00
|
|
|
android:background="?attr/colorPrimary">
|
2017-04-26 19:24:33 +00:00
|
|
|
|
2017-09-28 13:06:48 +00:00
|
|
|
<EditText
|
2017-04-26 19:24:33 +00: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"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
android:drawableLeft="?attr/search"
|
|
|
|
android:drawablePadding="8dp"
|
|
|
|
android:focusable="true"
|
2017-09-03 06:04:18 +00:00
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:hint="@string/search"
|
2017-04-26 19:24:33 +00: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"
|
2019-02-01 13:02:28 +00:00
|
|
|
android:focusable="true"
|
2019-10-05 20:57:33 +00:00
|
|
|
tools:ignore="RtlHardcoded">
|
2017-04-26 19:24:33 +00:00
|
|
|
|
2017-06-26 12:19:42 +00:00
|
|
|
<View
|
|
|
|
android:layout_width="28dp"
|
|
|
|
android:layout_height="28dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"/>
|
|
|
|
|
2017-04-26 19:24:33 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:contentDescription="@string/search"
|
|
|
|
android:scaleType="fitCenter"
|
|
|
|
android:src="?attr/close"
|
|
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|