<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:duplicateParentState="false">
  <include layout="@layout/toolbar_light_dark"/>
  <LinearLayout android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:elevation="1dp"
                android:background="@android:color/white"
                android:orientation="vertical"
                tools:ignore="RtlSymmetry">
    <Switch android:checked="true"
            android:id="@+id/onSwitch"
            android:text="@string/on"
            android:textSize="18sp"
            android:textColor="?android:attr/textColorSecondary"
            android:paddingLeft="60dp"
            android:paddingRight="8dp"
            android:paddingTop="12dp"
            android:paddingBottom="12dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            tools:ignore="RtlHardcoded"/>
    <Switch android:checked="true"
            android:id="@+id/bypassSwitch"
            android:text="@string/bypass_apps"
            android:textSize="18sp"
            android:textColor="?android:attr/textColorSecondary"
            android:paddingLeft="60dp"
            android:paddingRight="8dp"
            android:paddingTop="12dp"
            android:paddingBottom="12dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            tools:ignore="RtlHardcoded"/>
  </LinearLayout>
  <FrameLayout android:layout_width="fill_parent"
               android:layout_height="0dp"
               android:layout_weight="1">
    <ProgressBar android:id="@+id/loading"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_gravity="center" />
    <android.support.v7.widget.RecyclerView
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:id="@+id/applistview"
            android:visibility="gone"/>
  </FrameLayout>
</LinearLayout>
