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 <FrameLayout 24 android:id="@+id/fragment_container" 25 android:layout_width="match_parent" 26 android:layout_height="match_parent" 27 android:visibility="visible" 28 /> 29 30 <FrameLayout 31 android:id="@+id/search_container" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:visibility="gone" 35 /> 36 37 <FrameLayout 38 android:id="@+id/error_container" 39 android:layout_width="match_parent" 40 android:layout_height="match_parent" 41 android:visibility="gone" 42 /> 43 44 <com.android.car.media.common.MinimizedPlaybackControlBar 45 android:id="@+id/minimized_playback_controls" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:layout_marginHorizontal="@dimen/minimized_control_bar_margin_x" 49 android:layout_marginBottom="@dimen/minimized_control_bar_margin_bottom" 50 android:layout_gravity="bottom" 51 /> 52 53 <FrameLayout 54 android:id="@+id/playback_container" 55 android:layout_width="match_parent" 56 android:layout_height="match_parent" 57 android:visibility="gone" 58 /> 59 60</FrameLayout> 61