Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* apps/common/assets/default/default/skins/StatusBar.xml
      4 **
      5 ** Copyright 2010, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 
     21 <com.android.systemui.recent.RecentsPanelView
     22     xmlns:android="http://schemas.android.com/apk/res/android"
     23     xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
     24     android:id="@+id/recents_root"
     25     android:layout_height="match_parent"
     26     android:layout_width="match_parent"
     27     android:foreground="@drawable/bg_protect"
     28     systemui:recentItemLayout="@layout/status_bar_recent_item"
     29     >
     30     <FrameLayout
     31         android:id="@+id/recents_bg_protect"
     32         android:background="@drawable/status_bar_recents_background"
     33         android:layout_width="match_parent"
     34         android:layout_height="match_parent"
     35         android:layout_alignParentBottom="true">
     36 
     37         <com.android.systemui.recent.RecentsVerticalScrollView
     38             android:id="@+id/recents_container"
     39             android:layout_width="match_parent"
     40             android:layout_height="wrap_content"
     41             android:layout_marginEnd="0dp"
     42             android:divider="@null"
     43             android:stackFromBottom="true"
     44             android:fadingEdge="vertical"
     45             android:scrollbars="none"
     46             android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length"
     47             android:layout_gravity="bottom|start"
     48             android:clipToPadding="false"
     49             android:clipChildren="false">
     50 
     51             <LinearLayout android:id="@+id/recents_linear_layout"
     52                 android:layout_width="match_parent"
     53                 android:layout_height="wrap_content"
     54                 android:orientation="vertical"
     55                 android:fitsSystemWindows="true"
     56                 android:clipToPadding="false"
     57                 android:clipChildren="false">
     58             </LinearLayout>
     59 
     60         </com.android.systemui.recent.RecentsVerticalScrollView>
     61 
     62     </FrameLayout>
     63 
     64     <include layout="@layout/status_bar_no_recent_apps"
     65         android:id="@+id/recents_no_apps"
     66         android:layout_width="match_parent"
     67         android:layout_height="match_parent"
     68         android:visibility="invisible" />
     69 
     70 </com.android.systemui.recent.RecentsPanelView>
     71