<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    tools:context="com.company.netsdk.activity.WIFIConfigurationActivity">

    <LinearLayout
        android:id="@+id/sn_liner"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:orientation="horizontal"
        android:background="@drawable/divier"
        android:layout_marginTop="5dp"
        android:weightSum="2">

        <android.support.design.widget.TextInputLayout
            android:id="@+id/sn_text_input"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2">

            <com.company.netsdk.common.ClearEditText
                android:id="@+id/sn_et"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:hint="@string/smartconfig_sn"
                android:textSize="13sp"
                android:background="@null"/>
        </android.support.design.widget.TextInputLayout>

        <ImageButton
            android:id="@+id/scan_button"
            android:layout_width="35dp"
            android:layout_height="35dp"
            android:background="@drawable/scan_img"
            android:scaleType="fitCenter"
            android:layout_weight="1" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/ssid_liner"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:layout_below="@+id/sn_liner"
        android:orientation="horizontal"
        android:background="@drawable/divier"
        android:layout_marginTop="5dp">

         <android.support.design.widget.TextInputLayout
            android:id="@+id/ssid_text_input"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <com.company.netsdk.common.ClearEditText
                android:id="@+id/ssid_et"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:background="@null"
                android:textSize="13sp"
                android:hint="@string/smartconfig_ssid"/>
        </android.support.design.widget.TextInputLayout>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/pwd_liner"
        android:layout_width="match_parent"
        android:layout_height="45dp"
        android:layout_below="@+id/ssid_liner"
        android:orientation="horizontal"
        android:background="@drawable/divier"
        android:layout_marginTop="5dp"
        android:weightSum="2">

        <android.support.design.widget.TextInputLayout
            android:id="@+id/pwd_text_input"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="2">

            <com.company.netsdk.common.ClearEditText
                android:id="@+id/pwd_et"
                android:inputType="textPassword"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:textSize="13sp"
                android:background="@null"
                android:hint="@string/smartconfig_pwd" />
        </android.support.design.widget.TextInputLayout>

        <com.company.netsdk.common.EyeImageButton
            android:id="@+id/eye_button_passwd"
            android:layout_width="35dp"
            android:layout_height="45dp"
            android:background="@drawable/mobile_closeeye"
            android:scaleType="fitCenter"
            android:layout_weight="1"/>
    </LinearLayout>

    <Button
        android:textAllCaps="false"
        android:layout_marginTop="40dp"
        android:text="@string/config_device_to_wifi"
        android:id="@+id/config_start"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_below="@+id/pwd_liner"
        android:singleLine="false"/>


    <TextView
        android:id="@+id/config_device_info"
        android:layout_width="match_parent"
        android:layout_height="40dp"
        android:layout_marginTop="20dp"
        android:layout_below="@+id/config_start"/>
</RelativeLayout>
