| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ** Copyright 2012, The Android Open Source Project |
| ** |
| ** Licensed under the Apache License, Version 2.0 (the "License"); |
| ** you may not use this file except in compliance with the License. |
| ** You may obtain a copy of the License at |
| ** |
| ** http://www.apache.org/licenses/LICENSE-2.0 |
| ** |
| ** Unless required by applicable law or agreed to in writing, software |
| ** distributed under the License is distributed on an "AS IS" BASIS, |
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ** See the License for the specific language governing permissions and |
| ** limitations under the License. |
| --> |
| |
| <!-- Extends RelativeLayout --> |
| <com.android.systemui.qs.QuickStatusBarHeader |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:systemui="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/header" |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/status_bar_header_height" |
| android:layout_gravity="@integer/notification_panel_layout_gravity" |
| android:baselineAligned="false" |
| android:elevation="4dp" |
| android:clickable="false" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:paddingBottom="48dp" |
| android:paddingTop="0dp" |
| android:paddingEnd="0dp" |
| android:paddingStart="0dp"> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="24dp" |
| android:layout_alignParentEnd="true" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:gravity="center" |
| android:paddingStart="8dp" |
| android:paddingEnd="8dp" |
| android:orientation="horizontal"> |
| |
| |
| <com.android.keyguard.CarrierText |
| android:id="@+id/qs_carrier_text" |
| android:layout_width="0dp" |
| android:layout_height="match_parent" |
| android:layout_weight="1" |
| android:gravity="center_vertical|start" |
| android:ellipsize="marquee" |
| android:textAppearance="?android:attr/textAppearanceSmall" |
| android:textColor="?android:attr/textColorPrimary" |
| android:singleLine="true" /> |
| |
| <FrameLayout |
| android:id="@+id/system_icons_container" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:layout_gravity="center_vertical"> |
| |
| <include layout="@layout/system_icons" /> |
| |
| </FrameLayout> |
| |
| <com.android.systemui.statusbar.policy.Clock |
| android:id="@+id/clock" |
| android:textAppearance="@style/TextAppearance.StatusBar.Clock" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:singleLine="true" |
| android:paddingStart="@dimen/status_bar_clock_starting_padding" |
| android:paddingEnd="@dimen/status_bar_clock_end_padding" |
| android:gravity="center_vertical|start" |
| systemui:showDark="false" |
| /> |
| </LinearLayout> |
| |
| <com.android.systemui.qs.QuickQSPanel |
| android:id="@+id/quick_qs_panel" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentEnd="true" |
| android:layout_marginTop="36dp" |
| android:layout_marginBottom="8dp" |
| android:layout_alignParentTop="true" |
| android:accessibilityTraversalAfter="@+id/date_time_group" |
| android:accessibilityTraversalBefore="@id/expand_indicator" |
| android:clipChildren="false" |
| android:clipToPadding="false" |
| android:layout_marginStart="8dp" |
| android:layout_marginEnd="8dp" |
| android:focusable="true" |
| android:importantForAccessibility="yes" |
| android:paddingTop="0dp"/> |
| |
| <com.android.systemui.statusbar.AlphaOptimizedImageView |
| android:id="@+id/qs_detail_header_progress" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:alpha="0" |
| android:background="@color/qs_detail_progress_track" |
| android:src="@drawable/indeterminate_anim"/> |
| |
| <TextView |
| android:id="@+id/header_debug_info" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center_vertical" |
| android:fontFamily="sans-serif-condensed" |
| android:padding="2dp" |
| android:textColor="#00A040" |
| android:textSize="11dp" |
| android:textStyle="bold" |
| android:visibility="invisible"/> |
| |
| </com.android.systemui.qs.QuickStatusBarHeader> |