<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<FrameLayout
android:id="@+id/input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_margin="20dp">
<EditText
android:id="@+id/input_edit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="@drawable/shape_edit_border"
android:imeOptions="actionGo"
android:maxLength="100"
android:padding="10dp"
android:selectAllOnFocus="true"
android:singleLine="true"
android:text="https://m.baidu.com"
android:textSize="16sp" />
<ImageView
android:id="@+id/history_image"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_gravity="right|center_vertical"
android:padding="10dp"
android:src="@drawable/ic_down" />
</FrameLayout>
<Button
android:id="@+id/start"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_below="@+id/input_layout"
android:layout_centerHorizontal="true"
android:background="@drawable/shape_circle_btn"
android:padding="10dp"
android:text="go"
android:textColor="#ffffff"
android:textSize="22sp" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/input_layout">
<ImageView
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center"
android:src="@drawable/ic_send" />
</FrameLayout>
</RelativeLayout>