<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:addStatesFromChildren="true"
                android:focusable="true"
                android:gravity="center">

    <EditText
        android:id="@+id/search_field"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:focusable="true"
        android:layout_marginHorizontal="12dp"
        android:imeOptions="flagNoExtractUi|actionSearch"
        android:inputType="textEmailAddress|textNoSuggestions"/>

</RelativeLayout>