<?xml version="1.0" encoding="utf-8"?><!--
  Copyright 2022 The Android Open Source Project

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  -->

<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/root_split_activity_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:padding="10dp">

        <TextView
            android:id="@+id/activity_pair_split_attributes_text_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/current_split_attributes"/>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:background="#AAAAAA" />

        <TextView
            android:id="@+id/choose_layout_text_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/choose_the_configuration_to_update_the_layout" />

        <RadioGroup
            android:id="@+id/split_attributes_options_radio_group"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
            <RadioButton
                android:id="@+id/use_default_split_attributes"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/use_default_split_attributes"
                android:checked="true"/>

            <!-- The fullscreen option group -->
            <View
                android:id="@+id/show_fullscreen_in_portrait_divider_top"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:background="#AAAAAA"
                android:visibility="gone"/>
            <RadioButton
                android:id="@+id/show_fullscreen_in_portrait_radio_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/show_fullscreen_in_portrait"
                android:checked="true"/>
            <CheckBox
                android:id="@+id/show_horizontal_layout_in_tabletop_check_box"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/also_show_horizontal_layout_in_tabletop_mode"
                android:visibility="gone"/>
            <View
                android:id="@+id/show_fullscreen_in_portrait_divider_bottom"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:background="#AAAAAA"
                android:visibility="gone"/>
            <!-- End of the fullscreen option group -->

            <RadioButton
                android:id="@+id/show_horizontal_layout_in_tabletop_radio_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/also_show_horizontal_layout_in_tabletop_mode"
                />

            <!-- The different layout option group -->
            <View
                android:id="@+id/show_different_layout_with_size_divider_top"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:background="#AAAAAA"
                android:visibility="gone"/>
            <RadioButton
                android:id="@+id/show_different_layout_with_size_radio_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/show_different_layout_with_size"/>
            <CheckBox
                android:id="@+id/show_fullscreen_in_book_mode_check_box"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/also_show_fullscreen_in_book_mode"
                android:visibility="gone"/>
            <View
                android:id="@+id/show_different_layout_with_size_divider_bottom"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_marginTop="10dp"
                android:layout_marginBottom="10dp"
                android:background="#AAAAAA"
                android:visibility="gone"/>
            <!-- End of the different layout option group -->

            <RadioButton
                android:id="@+id/split_by_hinge_when_separating_radio_button"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/show_layout_that_follows_the_hinge_when_it_is_separated_by_hinge"/>
            <CheckBox
                android:id="@+id/swap_primary_secondary_position_check_box"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:text="@string/swap_the_position_of_primary_and_secondary_container" />
        </RadioGroup>

        <Button
            android:id="@+id/launch_activity_to_side"
            android:layout_width="wrap_content"
            android:layout_height="48dp"
            android:text="@string/launch_activity_to_side"/>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:background="#AAAAAA" />
        <TextView
            android:id="@+id/warning_message_text_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    </LinearLayout>
</ScrollView>