<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2019 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.
-->
<com.android.car.ui.FocusArea
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/focus_area"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">
    <FrameLayout
        android:id="@+id/apps_grid_background_container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:gravity="center">
        <com.android.car.carlauncher.Banner
            app:first_button_text="@string/banner_review_button_text"
            app:second_button_text="@string/banner_dismiss_button_text"
            app:title_text="@string/banner_title_text"
            android:id="@+id/tos_banner"
            android:alpha="0.0"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:elevation="10dp"
            android:visibility="gone" />
        <LinearLayout
            android:id="@+id/apps_grid_background"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center">
            <com.android.car.carlauncher.AppGridRecyclerView
                android:id="@+id/apps_grid"
                android:layout_width="match_parent"
                android:layout_height="match_parent"/>
            <FrameLayout
                android:id="@+id/page_indicator_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                <com.android.car.carlauncher.PageIndicator
                    android:id="@+id/page_indicator"
                    android:layout_width="match_parent"
                    android:layout_height="@dimen/page_indicator_height"/>
            </FrameLayout>
        </LinearLayout>
    </FrameLayout>
</com.android.car.ui.FocusArea>
