Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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 | <!-- extends RelativeLayout --> |
| 17 | <com.android.systemui.qs.car.CarQSFooter |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/qs_footer" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="@dimen/qs_footer_height" |
| 22 | android:baselineAligned="false" |
| 23 | android:clickable="false" |
| 24 | android:clipChildren="false" |
| 25 | android:clipToPadding="false" |
| 26 | android:paddingBottom="16dp" |
| 27 | android:paddingTop="16dp" |
| 28 | android:paddingEnd="32dp" |
| 29 | android:paddingStart="32dp" |
Bryan Eyler | 8014a50 | 2017-07-19 13:16:51 -0700 | [diff] [blame^] | 30 | android:gravity="center_vertical"> |
Anthony Chen | 54daefe | 2017-04-07 17:19:54 -0700 | [diff] [blame] | 31 | |
| 32 | <com.android.systemui.statusbar.phone.MultiUserSwitch |
| 33 | android:id="@+id/multi_user_switch" |
| 34 | android:layout_alignParentStart="true" |
| 35 | android:layout_centerVertical="true" |
| 36 | android:layout_width="48dp" |
| 37 | android:layout_height="48dp" |
| 38 | android:background="@drawable/ripple_drawable" |
| 39 | android:focusable="true"> |
| 40 | |
| 41 | <ImageView |
| 42 | android:id="@+id/multi_user_avatar" |
| 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="match_parent" |
| 45 | android:layout_gravity="center" |
| 46 | android:scaleType="centerInside"/> |
| 47 | </com.android.systemui.statusbar.phone.MultiUserSwitch> |
| 48 | |
| 49 | <com.android.systemui.statusbar.phone.SettingsButton |
| 50 | android:id="@+id/settings_button" |
| 51 | android:layout_alignParentEnd="true" |
| 52 | android:layout_centerVertical="true" |
| 53 | android:layout_width="48dp" |
| 54 | android:layout_height="48dp" |
| 55 | android:background="@drawable/ripple_drawable" |
| 56 | android:contentDescription="@string/accessibility_quick_settings_settings" |
| 57 | android:scaleType="centerCrop" |
| 58 | android:src="@drawable/ic_settings_16dp" |
| 59 | android:tint="?android:attr/colorForeground" |
| 60 | style="@android:style/Widget.Material.Button.Borderless" /> |
| 61 | |
| 62 | </com.android.systemui.qs.car.CarQSFooter> |