39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<merge xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
<ImageButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/places_autocomplete_back_button"
|
||
|
background="?attr/selectableItemBackgroundBorderless"
|
||
|
padding="12dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/quantum_ic_arrow_back_grey600_24"
|
||
|
contentDescription="@string/places_cancel"
|
||
|
layout_marginEnd="20dp"/>
|
||
|
<EditText
|
||
|
textSize="20sp"
|
||
|
textColor="#212121"
|
||
|
textColorHint="#bdbdbd"
|
||
|
id="@+id/places_autocomplete_search_bar"
|
||
|
background="@android:color/transparent"
|
||
|
layout_width="0dp"
|
||
|
layout_height="match_parent"
|
||
|
hint="@string/places_autocomplete_search_hint"
|
||
|
maxLines="1"
|
||
|
lines="1"
|
||
|
singleLine="true"
|
||
|
layout_weight="1"
|
||
|
inputType="textNoSuggestions"
|
||
|
imeOptions="flagNoExtractUi|actionSearch"
|
||
|
textCursorDrawable="@null"/>
|
||
|
<ImageButton
|
||
|
layout_gravity="center_vertical"
|
||
|
id="@+id/places_autocomplete_clear_button"
|
||
|
background="?attr/selectableItemBackgroundBorderless"
|
||
|
padding="12dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/quantum_ic_clear_grey600_24"
|
||
|
contentDescription="@string/places_autocomplete_clear_button"/>
|
||
|
</merge>
|