• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2016, The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9      http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16-->
17<FrameLayout
18    xmlns:android="http://schemas.android.com/apk/res/android"
19    android:id="@+id/media_activity_root"
20    android:layout_width="match_parent"
21    android:layout_height="match_parent">
22
23    <com.android.car.ui.FocusParkingView
24        android:id="@+id/fpv"
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27    />
28
29    <FrameLayout
30        android:id="@+id/fragment_container"
31        android:layout_width="match_parent"
32        android:layout_height="match_parent"
33        android:visibility="visible"
34    />
35
36    <FrameLayout
37        android:id="@+id/error_container"
38        android:layout_width="match_parent"
39        android:layout_height="match_parent"
40        android:visibility="gone"
41    />
42
43    <com.android.car.ui.FocusArea
44        style="@style/MinimizedControlBar"
45        android:layout_marginHorizontal="@dimen/minimized_control_bar_margin_x"
46        android:layout_marginBottom="@dimen/minimized_control_bar_margin_bottom"
47        android:layout_gravity="center|bottom">
48        <com.android.car.media.common.MinimizedPlaybackControlBar
49            android:id="@+id/minimized_playback_controls"
50            android:layout_width="match_parent"
51            android:layout_height="wrap_content"
52            android:visibility="gone"
53        />
54    </com.android.car.ui.FocusArea>
55
56    <FrameLayout
57        android:id="@+id/playback_container"
58        android:layout_width="match_parent"
59        android:layout_height="match_parent"
60        android:visibility="gone"
61    />
62
63</FrameLayout>
64