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 FrameLayout --> 19<com.android.systemui.qs.QSFooterImpl 20 xmlns:android="http://schemas.android.com/apk/res/android" 21 android:id="@+id/qs_footer" 22 android:layout_width="match_parent" 23 android:layout_height="48dp" 24 android:baselineAligned="false" 25 android:clickable="false" 26 android:clipChildren="false" 27 android:clipToPadding="false" 28 android:paddingTop="0dp" 29 android:gravity="center_vertical" 30 android:orientation="horizontal"> 31 32 <include 33 android:id="@+id/date_time_alarm_group" 34 layout="@layout/status_bar_alarm_group" 35 android:layout_marginStart="16dp" 36 android:layout_marginEnd="8dp" 37 android:layout_width="wrap_content" 38 android:layout_height="match_parent" /> 39 40 <LinearLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:layout_marginStart="16dp" 44 android:layout_marginEnd="8dp" 45 android:gravity="end"> 46 47 <com.android.systemui.statusbar.phone.MultiUserSwitch 48 android:id="@+id/multi_user_switch" 49 android:layout_width="48dp" 50 android:layout_height="48dp" 51 android:layout_alignParentEnd="true" 52 android:background="@drawable/ripple_drawable" 53 android:focusable="true"> 54 55 <ImageView 56 android:id="@+id/multi_user_avatar" 57 android:layout_width="@dimen/multi_user_avatar_expanded_size" 58 android:layout_height="@dimen/multi_user_avatar_expanded_size" 59 android:layout_gravity="center" 60 android:scaleType="centerInside"/> 61 </com.android.systemui.statusbar.phone.MultiUserSwitch> 62 63 <com.android.systemui.statusbar.AlphaOptimizedImageView 64 android:id="@android:id/edit" 65 android:layout_width="48dp" 66 android:layout_height="48dp" 67 android:background="?android:attr/selectableItemBackgroundBorderless" 68 android:clickable="true" 69 android:clipToPadding="false" 70 android:contentDescription="@string/accessibility_quick_settings_edit" 71 android:focusable="true" 72 android:padding="16dp" 73 android:src="@drawable/ic_mode_edit" 74 android:tint="?android:attr/colorForeground"/> 75 76 <com.android.systemui.statusbar.AlphaOptimizedFrameLayout 77 android:id="@+id/settings_button_container" 78 android:layout_width="48dp" 79 android:layout_height="48dp" 80 android:clipChildren="false" 81 android:clipToPadding="false"> 82 83 <com.android.systemui.statusbar.phone.SettingsButton 84 android:id="@+id/settings_button" 85 style="@android:style/Widget.Material.Button.Borderless" 86 android:layout_width="match_parent" 87 android:layout_height="match_parent" 88 android:background="@drawable/ripple_drawable" 89 android:contentDescription="@string/accessibility_quick_settings_settings" 90 android:src="@drawable/ic_settings_16dp" 91 android:tint="?android:attr/colorForeground"/> 92 93 <com.android.systemui.statusbar.AlphaOptimizedImageView 94 android:id="@+id/tuner_icon" 95 android:layout_width="match_parent" 96 android:layout_height="match_parent" 97 android:paddingStart="36dp" 98 android:paddingEnd="4dp" 99 android:src="@drawable/tuner" 100 android:tint="?android:attr/textColorTertiary" 101 android:visibility="invisible"/> 102 103 </com.android.systemui.statusbar.AlphaOptimizedFrameLayout> 104 105 <com.android.systemui.statusbar.phone.ExpandableIndicator 106 android:id="@+id/expand_indicator" 107 android:layout_width="48dp" 108 android:layout_height="48dp" 109 android:clipToPadding="false" 110 android:clickable="true" 111 android:focusable="true" 112 android:background="?android:attr/selectableItemBackgroundBorderless" 113 android:contentDescription="@string/accessibility_quick_settings_expand" 114 android:padding="14dp" /> 115 </LinearLayout> 116 117</com.android.systemui.qs.QSFooterImpl> 118