<?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"
        tools:context="com.nutomic.syncthingandroid.activities.FirstStartActivity"
        tools:showIn="@layout/activity_first_start">

    <RelativeLayout
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/bg_screen4">

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:background="@color/bg_screen4"
            android:gravity="center_horizontal"
            android:orientation="vertical">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:gravity="center"
                android:paddingLeft="@dimen/desc_padding"
                android:paddingRight="@dimen/desc_padding"
                android:text="@string/photo_shoot_intro_welcome_title"
                android:textColor="@android:color/white"
                android:textSize="@dimen/welcome_title" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="8dp"
                android:gravity="center"
                android:text="@string/photo_shoot_intro_permission_title"
                android:textColor="@android:color/white"
                android:textSize="@dimen/slide_title"
                android:textStyle="bold"/>

            <Button
                android:id="@+id/btnGrantStoragePerm"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:contentDescription="@string/grant_storage_permission"
                app:drawableStartCompat="@android:drawable/ic_menu_save"
                app:drawableLeftCompat="@android:drawable/ic_menu_save"
                android:paddingStart="@dimen/grant_button_padding"
                android:paddingLeft="@dimen/grant_button_padding"
                android:paddingEnd="@dimen/grant_button_padding"
                android:paddingRight="@dimen/grant_button_padding"
                android:text="@string/grant_storage_permission"
                android:textSize="12sp"
                style="@style/Theme.Syncthing.GreyButton" />

            <Button
                android:id="@+id/btnGrantCameraPerm"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:contentDescription="@string/grant_camera_permission"
                app:drawableStartCompat="@android:drawable/ic_menu_camera"
                app:drawableLeftCompat="@android:drawable/ic_menu_camera"
                android:paddingStart="@dimen/grant_button_padding"
                android:paddingLeft="@dimen/grant_button_padding"
                android:paddingEnd="@dimen/grant_button_padding"
                android:paddingRight="@dimen/grant_button_padding"
                android:text="@string/grant_camera_permission"
                android:textSize="12sp"
                style="@style/Theme.Syncthing.GreyButton" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="5dp"
                android:layout_marginBottom="@dimen/dots_margin_bottom"
                android:layout_gravity="center_horizontal"
                android:justificationMode="inter_word"
                android:paddingLeft="@dimen/desc_padding"
                android:paddingRight="@dimen/desc_padding"
                android:text="@string/photo_shoot_intro_permission_desc"
                android:textAlignment="center"
                android:textColor="@android:color/white"
                android:textSize="@dimen/slide_desc" />

        </LinearLayout>


    </RelativeLayout>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <View
                android:focusable="false"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:alpha=".5"
                android:layout_above="@id/btn_back"
                android:background="@android:color/white" />

        <Button
                android:id="@+id/btn_back"
                android:focusable="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:layout_alignParentStart="true"
                android:text="@string/back"
                style="@style/Theme.Syncthing.GreyButton" />

        <Button
                android:id="@+id/btn_go"
                android:focusable="true"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentBottom="true"
                android:layout_alignParentEnd="true"
                android:text="@string/cont"
                style="@style/Theme.Syncthing.GreyButton" >
        </Button>

    </RelativeLayout>
</RelativeLayout>
