<?xml version="1.0" encoding="utf-8"?>

<!--
 This file is part of TinyWeatherForecastGermany.

 Copyright (c) 2020, 2021 Pawel Dube

 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->

<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/welcome_screen3"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_alignParentTop="true"
    android:background="?attr/colorWelcomeBackground"
    android:orientation="vertical">

    <HorizontalScrollView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_alignParentTop="true"
            android:layout_above="@id/welcome_screen3_next">

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

            <ImageView
                    android:id="@+id/welcome_screen3_collapse_hint_image"
                    android:layout_width="100dp"
                    android:layout_height="100dp"
                    android:layout_marginTop="@dimen/welcome_text_padding"
                    android:layout_marginLeft="@dimen/welcome_text_padding"
                    android:layout_alignParentLeft="true"
                    android:layout_alignParentTop="true"
                    android:src="@drawable/collapse_hint">
            </ImageView>

            <TextView
                    android:id="@+id/welcome_screen3_text1"
                    android:layout_width="120dp"
                    android:layout_height="wrap_content"
                    android:gravity="center"
                    android:layout_below="@id/welcome_screen3_collapse_hint_image"
                    android:paddingTop="@dimen/welcome_text_padding"
                    android:paddingLeft="@dimen/welcome_text_padding"
                    android:textColor="?attr/colorText"
                    android:text="@string/welcome_s3_text1"
                    android:textSize="@dimen/welcome_text_size"
                    android:paddingBottom="12dp"/>

            <ImageView
                    android:id="@+id/welcome_screen3_expand_hint_image"
                    android:layout_width="160dp"
                    android:layout_height="70dp"
                    android:layout_marginTop="@dimen/welcome_text_padding"
                    android:layout_marginLeft="@dimen/welcome_text_padding"
                    android:layout_marginRight="@dimen/welcome_text_padding"
                    android:layout_toRightOf="@id/welcome_screen3_collapse_hint_image"
                    android:layout_alignParentTop="true"
                    android:gravity="top"
                    android:src="@drawable/expand_hint">
            </ImageView>

            <TextView
                    android:id="@+id/welcome_screen3_text2"
                    android:layout_width="160dp"
                    android:layout_height="wrap_content"
                    android:gravity="center"
                    android:paddingTop="@dimen/welcome_text_padding"
                    android:layout_below="@id/welcome_screen3_collapse_hint_image"
                    android:layout_alignStart="@id/welcome_screen3_expand_hint_image"
                    android:textColor="?attr/colorText"
                    android:text="@string/welcome_s3_text2"
                    android:textSize="@dimen/welcome_text_size"
                    android:paddingBottom="12dp"/>

            <ImageView
                    android:id="@+id/welcome_screen3_widget_image"
                    android:layout_width="120dp"
                    android:layout_height="70dp"
                    android:layout_marginTop="@dimen/welcome_text_padding"
                    android:layout_marginLeft="@dimen/welcome_text_padding"
                    android:layout_marginRight="@dimen/welcome_text_padding"
                    android:gravity="center"
                    android:layout_toRightOf="@id/welcome_screen3_expand_hint_image"
                    android:layout_alignParentTop="true"
                    android:src="@drawable/widget_preview"/>

            <TextView
                    android:id="@+id/welcome_screen3_text3"
                    android:layout_width="120dp"
                    android:layout_height="wrap_content"
                    android:gravity="center"
                    android:paddingTop="@dimen/welcome_text_padding"
                    android:layout_below="@id/welcome_screen3_collapse_hint_image"
                    android:layout_alignStart="@id/welcome_screen3_widget_image"
                    android:textColor="?attr/colorText"
                    android:text="@string/welcome_s3_text3"
                    android:textSize="@dimen/welcome_text_size"
                    android:paddingBottom="12dp"/>

            <ImageView
                    android:id="@+id/welcome_screen3_bar_image"
                    android:layout_marginTop="@dimen/welcome_text_padding"
                    android:layout_width="150dp"
                    android:layout_height="60dp"
                    android:layout_marginLeft="@dimen/welcome_text_padding"
                    android:layout_marginRight="@dimen/welcome_text_padding"
                    android:gravity="center"
                    android:layout_alignParentTop="true"
                    android:layout_toRightOf="@id/welcome_screen3_widget_image"
                    android:src="@drawable/bar_hint"/>

            <TextView
                    android:id="@+id/welcome_screen3_text4"
                    android:layout_width="150dp"
                    android:layout_height="wrap_content"
                    android:paddingTop="@dimen/welcome_text_padding"
                    android:gravity="center"
                    android:layout_below="@id/welcome_screen3_collapse_hint_image"
                    android:layout_alignStart="@id/welcome_screen3_bar_image"
                    android:textColor="?attr/colorText"
                    android:text="@string/welcome_s3_text4"
                    android:textSize="@dimen/welcome_text_size"/>

            <ImageView
                    android:id="@+id/welcome_screen3_long_press_item"
                    android:layout_marginTop="@dimen/welcome_text_padding"
                    android:layout_width="150dp"
                    android:layout_height="60dp"
                    android:layout_toEndOf="@id/welcome_screen3_bar_image"
                    android:layout_alignParentTop="true"
                    android:src="@drawable/long_press_item"/>

            <TextView
                    android:id="@+id/welcome_screen3_text5"
                    android:layout_width="150dp"
                    android:layout_height="wrap_content"
                    android:paddingTop="@dimen/welcome_text_padding"
                    android:gravity="center"
                    android:layout_below="@id/welcome_screen3_collapse_hint_image"
                    android:layout_alignStart="@id/welcome_screen3_long_press_item"
                    android:textColor="?attr/colorText"
                    android:text="@string/welcome_s3_text5"
                    android:textSize="@dimen/welcome_text_size"/>

        </RelativeLayout>
    </HorizontalScrollView>

    <TextView
        android:id="@+id/welcome_screen3_next"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:textColor="?attr/colorText"
        android:text="@string/welcome_ready"
        android:layout_gravity="center"
        android:gravity="center"
        android:textSize="@dimen/welcome_action_size"
        android:paddingBottom="@dimen/welcome_action_padding"/>

</RelativeLayout>