Lujiang Xue | e53f749 | 2018-03-01 09:53:28 -0800 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (C) 2018 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 | <FrameLayout |
| 17 | xmlns:android="http://schemas.android.com/apk/res/android" |
Lin Guo | aea0023 | 2018-04-06 19:18:33 -0700 | [diff] [blame] | 18 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 19 | android:id="@+id/volume_dialog" |
| 20 | android:clipChildren="false" |
Lujiang Xue | e53f749 | 2018-03-01 09:53:28 -0800 | [diff] [blame] | 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="wrap_content" |
| 23 | android:layout_marginStart="@dimen/car_margin" |
| 24 | android:layout_marginEnd="@dimen/car_margin" |
Lin Guo | aea0023 | 2018-04-06 19:18:33 -0700 | [diff] [blame] | 25 | android:theme="@style/qs_theme" > |
| 26 | <androidx.car.widget.PagedListView |
| 27 | android:id="@+id/volume_list" |
| 28 | android:background="@drawable/car_rounded_bg_bottom" |
Lin Guo | 7fd8932 | 2018-03-22 18:46:42 -0700 | [diff] [blame] | 29 | android:layout_width="match_parent" |
Lujiang Xue | e53f749 | 2018-03-01 09:53:28 -0800 | [diff] [blame] | 30 | android:layout_height="wrap_content" |
Lin Guo | aea0023 | 2018-04-06 19:18:33 -0700 | [diff] [blame] | 31 | android:minWidth="@dimen/volume_dialog_panel_width" |
| 32 | android:theme="?attr/dialogListTheme" |
| 33 | app:dividerStartMargin="@dimen/car_keyline_1" |
| 34 | app:dividerEndMargin="@dimen/car_keyline_1" |
| 35 | app:gutter="none" |
| 36 | app:showPagedListViewDivider="true" |
| 37 | app:scrollBarEnabled="false" /> |
| 38 | </FrameLayout> |