John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2014 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 | --> |
Jorim Jaggi | 43f4372 | 2014-12-10 22:17:44 +0100 | [diff] [blame] | 17 | <com.android.keyguard.AlphaOptimizedLinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Adrian Roos | 37f100e | 2014-08-13 22:24:22 +0200 | [diff] [blame] | 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
Muyuan Li | 0e9f538 | 2016-04-27 15:51:15 -0700 | [diff] [blame] | 21 | android:paddingLeft="@dimen/qs_detail_header_padding" |
| 22 | android:paddingTop="@dimen/qs_detail_header_padding" |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 23 | android:paddingBottom="@dimen/qs_detail_items_padding_top" |
Jason Monk | db50de8 | 2016-02-03 15:34:54 -0500 | [diff] [blame] | 24 | android:paddingEnd="@dimen/qs_panel_padding" |
Jason Monk | db50de8 | 2016-02-03 15:34:54 -0500 | [diff] [blame] | 25 | android:background="@drawable/btn_borderless_rect" |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 26 | android:orientation="vertical" |
Jason Monk | db50de8 | 2016-02-03 15:34:54 -0500 | [diff] [blame] | 27 | android:gravity="center"> |
| 28 | |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 29 | <com.android.systemui.ResizingSpace |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="@dimen/qs_detail_margin_top" /> |
John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 32 | |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 33 | <LinearLayout |
| 34 | android:layout_width="match_parent" |
John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 35 | android:layout_height="wrap_content" |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 36 | android:orientation="horizontal"> |
| 37 | |
| 38 | <TextView |
| 39 | android:id="@android:id/title" |
| 40 | android:paddingStart="@dimen/qs_detail_header_text_padding" |
| 41 | android:layout_width="0dp" |
| 42 | android:layout_height="wrap_content" |
| 43 | android:layout_weight="1" |
| 44 | android:textDirection="locale" |
| 45 | android:textAppearance="@style/TextAppearance.QS.DetailHeader" /> |
| 46 | |
| 47 | <ImageView |
| 48 | android:id="@+id/settings" |
| 49 | android:layout_width="@dimen/qs_detail_image_width" |
| 50 | android:layout_height="@dimen/qs_detail_image_height" |
| 51 | android:background="?android:attr/selectableItemBackground" |
| 52 | android:padding="@dimen/qs_detail_image_padding" |
| 53 | android:src="@drawable/ic_settings" |
| 54 | android:visibility="gone"/> |
| 55 | |
Fabian Kozynski | 8a86795 | 2019-12-02 10:32:00 -0500 | [diff] [blame] | 56 | <ViewStub |
| 57 | android:id="@+id/toggle_stub" |
| 58 | android:inflatedId="@+id/toggle" |
| 59 | android:layout="@layout/qs_detail_switch" |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 60 | android:layout_width="wrap_content" |
Fabian Kozynski | 8a86795 | 2019-12-02 10:32:00 -0500 | [diff] [blame] | 61 | android:layout_height="wrap_content"/> |
Jason Monk | ecfbddb | 2017-05-26 13:19:38 -0400 | [diff] [blame] | 62 | |
| 63 | </LinearLayout> |
John Spurlock | 7f8f22a | 2014-07-02 18:54:17 -0400 | [diff] [blame] | 64 | |
Jason Monk | db50de8 | 2016-02-03 15:34:54 -0500 | [diff] [blame] | 65 | </com.android.keyguard.AlphaOptimizedLinearLayout> |