Newer
Older
SpyWebView / app / src / main / res / layout / activity_main.xml
bello on 30 Jul 2020 1 KB init
<?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">

    <EditText
        android:id="@+id/input_edit"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:layout_margin="20dp"
        android:background="@drawable/shape_edit_border"
        android:padding="10dp"
        android:singleLine="true"
        android:maxLength="100"
        android:textSize="16sp"
        android:selectAllOnFocus="true"
        android:imeOptions="actionGo"
        android:text="https://m.baidu.com" />

    <Button
        android:id="@+id/start"
        android:layout_width="80dp"
        android:layout_height="80dp"
        android:layout_below="@+id/input_edit"
        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_edit">

        <ImageView
            android:layout_width="150dp"
            android:layout_height="150dp"
            android:layout_gravity="center"
            android:src="@drawable/ic_send" />

    </FrameLayout>


</RelativeLayout>