<android.support.v7.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".activity.SettingActivity"
    android:theme="@style/SettingTheme"
    android:orientation="vertical">

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

    <ScrollView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">
    <android.support.v7.widget.LinearLayoutCompat
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="15dp">
        <RelativeLayout
            android:id="@+id/screen_on_switch_context"
            android:clickable="true"
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:background="@drawable/setting_selector"
            >
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:text="@string/keepScreenOn"
                android:gravity="center"
                android:layout_centerVertical="true"
                />
            <android.support.v7.widget.SwitchCompat
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_alignParentRight="true"
                android:id="@+id/screen_on_switch"
                />
        </RelativeLayout>
        <android.support.v7.widget.AppCompatTextView
            android:layout_marginTop="25dp"
            android:layout_marginBottom="10dp"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:text="@string/notifications"
            android:gravity="center"
            android:layout_centerVertical="true"
            android:textColor="@color/setting_head_text"/>
        <RelativeLayout
            android:id="@+id/vibrator_switch_context"
            android:clickable="true"
            android:layout_width="match_parent"
            android:layout_height="61dp"
            android:background="@drawable/setting_selector">
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/vibratorOn"
                android:gravity="center"
                android:layout_centerVertical="true"
                />
            <android.support.v7.widget.SwitchCompat
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:layout_alignParentRight="true"
                android:id="@+id/vibrator_switch"
                />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                android:layout_below="@id/vibrator_switch"
                />
        </RelativeLayout>
        <RelativeLayout
            android:id="@+id/musicOnSwitch_context"
            android:background="@drawable/setting_selector"
            android:clickable="true"
            android:layout_width="match_parent"
            android:layout_height="61dp"
            >
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/musicOn"
                android:gravity="center"
                android:layout_centerVertical="true"
               />
            <android.support.v7.widget.SwitchCompat
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:layout_alignParentRight="true"
                android:id="@+id/musicOnSwitch"
                />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                android:layout_below="@id/musicOnSwitch"
               />
        </RelativeLayout>
        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="61dp"
            android:background="@drawable/setting_selector"
            android:id="@+id/start_run">
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/notifications_start_run"
                android:gravity="center"
                android:layout_centerVertical="true"
              />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                android:layout_alignParentBottom="true"
                />
        </RelativeLayout>
        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="61dp"
            android:background="@drawable/setting_selector"
            android:id="@+id/start_rest">
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/notifications_start_rest"
                android:gravity="center"
                android:layout_centerVertical="true"
              />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                android:layout_alignParentBottom="true"
                />
        </RelativeLayout>
        <android.support.v7.widget.AppCompatTextView
            android:layout_marginTop="35dp"
            android:layout_marginBottom="10dp"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:text="@string/about"
            android:textColor="@color/setting_head_text"/>
        <android.support.v7.widget.LinearLayoutCompat
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">
            <android.support.v7.widget.LinearLayoutCompat
                android:id="@+id/suggest"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:background="@drawable/setting_selector">
                <android.support.v7.widget.AppCompatTextView
                    android:layout_width="wrap_content"
                    android:layout_height="60dp"
                    android:text="@string/suggest"
                    android:gravity="center"
                    android:layout_centerVertical="true" />
                <View
                    android:layout_width="match_parent"
                    android:layout_height="1dp"
                    android:background="#dcd3d3"
                    />
            </android.support.v7.widget.LinearLayoutCompat>
            <android.support.v7.widget.LinearLayoutCompat
                android:id="@+id/license"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:background="@drawable/setting_selector">
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/license"
                android:gravity="center"
                android:layout_centerVertical="true" />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                />
            </android.support.v7.widget.LinearLayoutCompat>
            <android.support.v7.widget.LinearLayoutCompat
                android:id="@+id/check_upgrade"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:background="@drawable/setting_selector">
            <android.support.v7.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="60dp"
                android:text="@string/check_upgrade"
                android:gravity="center"
                android:layout_centerVertical="true" />
            <View
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="#dcd3d3"
                />
            </android.support.v7.widget.LinearLayoutCompat>
        </android.support.v7.widget.LinearLayoutCompat>

    </android.support.v7.widget.LinearLayoutCompat>
    </ScrollView>


</android.support.v7.widget.LinearLayoutCompat>
