1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<FrameLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 <!-- Status Bar Scrim View --> 21 <ImageView 22 android:id="@+id/status_bar_scrim" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:layout_gravity="center_horizontal|top" 26 android:scaleType="fitXY" 27 android:src="@drawable/recents_status_gradient" /> 28 29 <!-- Recents View --> 30 <com.android.systemui.recents.views.RecentsView 31 android:id="@+id/recents_view" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent" 34 android:focusable="true" /> 35 36 <!-- Empty View --> 37 <ViewStub android:id="@+id/empty_view_stub" 38 android:layout="@layout/recents_empty" 39 android:layout_width="match_parent" 40 android:layout_height="match_parent" /> 41 42 <!-- Debug Overlay View --> 43 <ViewStub android:id="@+id/debug_overlay_stub" 44 android:layout="@layout/recents_debug_overlay" 45 android:layout_width="match_parent" 46 android:layout_height="match_parent" /> 47 48 <!-- Nav Bar Scrim View --> 49 <ImageView 50 android:id="@+id/nav_bar_scrim" 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:layout_gravity="center_horizontal|bottom" 54 android:scaleType="fitXY" 55 android:src="@drawable/recents_lower_gradient" /> 56</FrameLayout>