blob: 47daee08b545c4b0742af3ccb53b544252ede5ec [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 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.
-->
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:padding="0dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/car_ui_app_styled_view_background">
<com.android.car.ui.FocusParkingView
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<com.android.car.ui.FocusArea
android:id="@+id/car_ui_focus_area"
android:layout_width="@dimen/car_ui_toolbar_first_row_height"
android:layout_height="match_parent"
android:orientation="vertical"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintRight_toLeftOf="@+id/car_ui_app_styled_content">
<FrameLayout
android:id="@+id/car_ui_app_styled_view_nav_icon_container"
android:layout_marginVertical="10dp"
android:layout_marginHorizontal="18dp"
android:layout_width="76dp"
android:layout_height="76dp"
android:layout_gravity="center"
app:layout_constraintHorizontal_bias="0.0"
android:background="@drawable/car_ui_app_styled_view_ripple">
<ImageView
android:id="@+id/car_ui_app_styled_view_icon_close"
android:layout_width="@dimen/car_ui_toolbar_nav_icon_size"
android:layout_height="@dimen/car_ui_toolbar_nav_icon_size"
android:tint="@color/car_ui_toolbar_nav_icon_color"
android:layout_gravity="center"
android:scaleType="fitXY"/>
</FrameLayout>
</com.android.car.ui.FocusArea>
<com.android.car.ui.recyclerview.CarUiRecyclerView
android:id="@+id/car_ui_app_styled_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:carUiSize="small"
android:layout_marginLeft="@dimen/car_ui_toolbar_first_row_height"
app:layout_constraintBottom_toBottomOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>