<?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"
    android:paddingTop="@dimen/activity_vertical_margin"
    android:screenOrientation="landscape"
    tools:context="com.example.administrator.alphabot.DeviceControlActivity">

    <Button
        android:id="@+id/bluetoothButton"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:text="@string/BluetoothControl"
        android:textSize="20.0dip"
        android:textColor="#ffffff"
        android:background="#66ccff"
        android:onClick="bluetoothBtn" />

    <Button
        android:id="@+id/wifiButton"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/bluetoothButton"
        android:layout_marginTop="20dp"
        android:text="@string/WifiControl"
        android:textSize="20.0dip"
        android:textColor="#ffffff"
        android:background="#66ccff"
        android:onClick="wifiBtn" />
    <TextView
        android:id="@+id/baiwenwangTextView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textAlignment="center"
        android:layout_below="@id/wifiButton"
        android:layout_marginTop="250dp"
        android:textSize="15.0dip"
        android:autoLink="web"
        android:text="http://www.waveshare.com"/>

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textAlignment="center"
        android:layout_below="@id/baiwenwangTextView"
        android:layout_marginTop="10dp"
        android:textSize="15.0dip"
        android:autoLink="web"
        android:text="http://www.waveshare.net"/>

</RelativeLayout>
