<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
    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"
    android:fitsSystemWindows="true"
    tools:context="org.wso2.carbon.iot.android.sense.realtimeviewer.ActivitySelectSensor"
    android:touchscreenBlocksFocus="false">

    <android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/AppTheme.AppBarOverlay">

        <android.support.v7.widget.Toolbar
            android:id="@+id/toolbar"
            android:layout_width="match_parent"
            android:layout_height="?attr/actionBarSize"
            android:background="?attr/colorPrimary"
            app:popupTheme="@style/AppTheme.PopupOverlay"/>

    </android.support.design.widget.AppBarLayout>

    <include layout="@layout/content_activity_select_sensor"/>

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_gravity="bottom|center"
        android:layout_height="100dp"
        android:layout_margin="20dp"
        android:orientation="horizontal">

        <!--<RelativeLayout-->
            <!--android:layout_width="0dp"-->
            <!--android:layout_height="match_parent"-->
            <!--android:layout_weight="0.25"-->
            <!--&gt;-->
            <!--<android.support.design.widget.FloatingActionButton-->
                <!--android:id="@+id/beacon"-->
                <!--android:layout_width="match_parent"-->
                <!--android:layout_height="match_parent"-->
                <!--android:layout_margin="15dp"-->
                <!--android:src="@drawable/beacon"/>-->
        <!--</RelativeLayout>-->

        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            >
            <android.support.design.widget.FloatingActionButton
                android:id="@+id/addSensors"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_margin="15dp"
                android:layout_centerInParent="true"
                android:src="@android:drawable/ic_input_add"/>

        </RelativeLayout>

        <!--<RelativeLayout-->
            <!--android:layout_width="0dp"-->
            <!--android:layout_height="match_parent"-->
            <!--android:layout_weight="0.25"-->
            <!--&gt;-->
            <!--<android.support.design.widget.FloatingActionButton-->
                <!--android:id="@+id/speech"-->
                <!--android:layout_width="match_parent"-->
                <!--android:layout_height="match_parent"-->
                <!--android:layout_margin="15dp"-->
                <!--android:src="@drawable/mic"/>-->
        <!--</RelativeLayout>-->

        <RelativeLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="0.5"
            >
            <android.support.design.widget.FloatingActionButton
                android:id="@+id/publish"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_margin="15dp"
                android:layout_centerInParent="true"
                android:src="@drawable/pushtoserver"/>
        </RelativeLayout>
    </LinearLayout>
</android.support.design.widget.CoordinatorLayout>
