1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3** Copyright 2012, 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 18<!-- Extends RelativeLayout --> 19<com.android.systemui.qs.QuickStatusBarHeader 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/header" 22 android:layout_width="match_parent" 23 android:layout_height="@*android:dimen/quick_qs_total_height" 24 android:layout_gravity="@integer/notification_panel_layout_gravity" 25 android:background="@android:color/transparent" 26 android:baselineAligned="false" 27 android:clickable="false" 28 android:clipChildren="false" 29 android:clipToPadding="false" 30 android:paddingTop="0dp" 31 android:paddingEnd="0dp" 32 android:paddingStart="0dp" 33 android:elevation="4dp" > 34 35 <include layout="@layout/quick_status_bar_header_system_icons" /> 36 37 <!-- Status icons within the panel itself (and not in the top-most status bar) --> 38 <include layout="@layout/quick_qs_status_icons" /> 39 40 <!-- Layout containing tooltips, alarm text, etc. --> 41 <include layout="@layout/quick_settings_header_info" /> 42 43 <com.android.systemui.qs.QuickQSPanel 44 android:id="@+id/quick_qs_panel" 45 android:layout_width="match_parent" 46 android:layout_height="48dp" 47 android:layout_below="@id/quick_qs_status_icons" 48 android:layout_marginStart="@dimen/qs_header_tile_margin_horizontal" 49 android:layout_marginEnd="@dimen/qs_header_tile_margin_horizontal" 50 android:accessibilityTraversalAfter="@+id/date_time_group" 51 android:accessibilityTraversalBefore="@id/expand_indicator" 52 android:clipChildren="false" 53 android:clipToPadding="false" 54 android:focusable="true" 55 android:importantForAccessibility="yes" /> 56 57 <com.android.systemui.statusbar.AlphaOptimizedImageView 58 android:id="@+id/qs_detail_header_progress" 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:layout_alignParentBottom="true" 62 android:alpha="0" 63 android:background="@color/qs_detail_progress_track" 64 android:src="@drawable/indeterminate_anim"/> 65 66 <TextView 67 android:id="@+id/header_debug_info" 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:layout_gravity="center_vertical" 71 android:fontFamily="sans-serif-condensed" 72 android:padding="2dp" 73 android:textColor="#00A040" 74 android:textSize="11dp" 75 android:textStyle="bold" 76 android:visibility="invisible"/> 77 78</com.android.systemui.qs.QuickStatusBarHeader> 79