48 lines
1.5 KiB
XML
48 lines
1.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
gravity="center"
|
||
|
orientation="horizontal"
|
||
|
focusable="true"
|
||
|
focusableInTouchMode="true"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
textDirection="locale"
|
||
|
layoutDirection="locale">
|
||
|
<ImageButton
|
||
|
id="@+id/places_autocomplete_search_button"
|
||
|
background="@null"
|
||
|
padding="16dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/quantum_ic_search_grey600_24"
|
||
|
layout_weight="0"
|
||
|
contentDescription="@string/places_autocomplete_search_hint"/>
|
||
|
<EditText
|
||
|
textSize="20sp"
|
||
|
textColor="#212121"
|
||
|
textColorHint="#bdbdbd"
|
||
|
id="@+id/places_autocomplete_search_input"
|
||
|
background="@null"
|
||
|
paddingLeft="16dp"
|
||
|
paddingRight="16dp"
|
||
|
focusable="false"
|
||
|
focusableInTouchMode="false"
|
||
|
layout_width="0dp"
|
||
|
layout_height="match_parent"
|
||
|
hint="@string/places_autocomplete_search_hint"
|
||
|
maxLines="1"
|
||
|
lines="1"
|
||
|
singleLine="true"
|
||
|
layout_weight="1"
|
||
|
inputType="textNoSuggestions"/>
|
||
|
<ImageButton
|
||
|
id="@+id/places_autocomplete_clear_button"
|
||
|
background="@null"
|
||
|
padding="16dp"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
src="@drawable/quantum_ic_clear_grey600_24"
|
||
|
layout_weight="0"
|
||
|
contentDescription="@string/places_autocomplete_clear_button"/>
|
||
|
</LinearLayout>
|