| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2017 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 LinearLayout --> |
| <com.android.systemui.HardwareUiLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_marginBottom="0dp" |
| android:clipToPadding="false" |
| android:theme="@style/qs_theme" |
| android:clipChildren="false"> |
| <com.android.systemui.volume.OutputChooserLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:sysui="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/output_chooser" |
| android:layout_width="@dimen/output_chooser_panel_width" |
| android:layout_height="@dimen/output_chooser_panel_width" |
| android:layout_gravity="center_vertical|end" |
| android:orientation="vertical" |
| android:translationZ="8dp" |
| android:padding="20dp" > |
| |
| <TextView |
| android:id="@+id/title" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textDirection="locale" |
| android:textAppearance="@style/TextAppearance.QS.DetailHeader" |
| android:layout_marginBottom="20dp" /> |
| |
| <com.android.systemui.qs.AutoSizingList |
| android:id="@android:id/list" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| sysui:itemHeight="@dimen/qs_detail_item_height" |
| style="@style/AutoSizingList"/> |
| |
| <LinearLayout |
| android:id="@android:id/empty" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:layout_gravity="center" |
| android:gravity="center" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:id="@+id/empty_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:textDirection="locale" |
| android:layout_marginTop="20dp" |
| android:textAppearance="@style/TextAppearance.QS.DetailEmpty"/> |
| </LinearLayout> |
| </com.android.systemui.volume.OutputChooserLayout> |
| </com.android.systemui.HardwareUiLayout> |