Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2018 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 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:id="@+id/header_text_container" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="@dimen/qs_header_tooltip_height" |
| 21 | android:layout_below="@id/quick_status_bar_system_icons" |
| 22 | android:layout_marginTop="12dp"> |
| 23 | |
| 24 | <TextView |
| 25 | android:id="@+id/long_press_tooltip" |
| 26 | android:layout_width="wrap_content" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:layout_gravity="center_horizontal|bottom" |
| 29 | android:alpha="0" |
| 30 | android:text="@string/quick_settings_header_onboarding_text" |
| 31 | android:textAppearance="@style/TextAppearance.QS.TileLabel" |
Rohan Shah | b6a915c | 2018-03-01 11:57:00 -0800 | [diff] [blame] | 32 | android:textColor="?android:attr/textColorSecondary" |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 33 | android:visibility="invisible" /> |
| 34 | |
| 35 | <LinearLayout |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 36 | android:id="@+id/status_container" |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 37 | android:layout_width="wrap_content" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:layout_gravity="center_horizontal|bottom" |
| 40 | android:gravity="center_vertical" |
Fabian Kozynski | 3f78933 | 2018-09-04 16:42:43 -0400 | [diff] [blame] | 41 | android:alpha="0"> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 42 | |
| 43 | <ImageView |
Amin Shaikh | ef06dc2 | 2018-04-06 10:50:23 -0400 | [diff] [blame] | 44 | android:id="@+id/next_alarm_icon" |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 45 | android:layout_width="@dimen/qs_header_alarm_icon_size" |
| 46 | android:layout_height="@dimen/qs_header_alarm_icon_size" |
Amin Shaikh | ef06dc2 | 2018-04-06 10:50:23 -0400 | [diff] [blame] | 47 | android:src="@drawable/stat_sys_alarm" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 48 | android:tint="?android:attr/textColorPrimary" |
| 49 | android:visibility="gone"/> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 50 | |
| 51 | <TextView |
Amin Shaikh | ef06dc2 | 2018-04-06 10:50:23 -0400 | [diff] [blame] | 52 | android:id="@+id/next_alarm_text" |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 53 | android:layout_width="wrap_content" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 56 | android:textAppearance="@style/TextAppearance.QS.TileLabel" |
| 57 | android:visibility="gone"/> |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 58 | |
Amin Shaikh | 856939f | 2018-03-29 09:41:45 -0400 | [diff] [blame] | 59 | <View |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 60 | android:id="@+id/status_separator" |
Amin Shaikh | 856939f | 2018-03-29 09:41:45 -0400 | [diff] [blame] | 61 | android:layout_width="1dp" |
| 62 | android:layout_height="match_parent" |
| 63 | android:layout_marginStart="10dp" |
| 64 | android:layout_marginEnd="10dp" |
| 65 | android:background="@android:color/white" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 66 | android:backgroundTint="?android:attr/textColorPrimary" |
| 67 | android:visibility="gone"/> |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 68 | |
| 69 | <ImageView |
Amin Shaikh | ef06dc2 | 2018-04-06 10:50:23 -0400 | [diff] [blame] | 70 | android:id="@+id/ringer_mode_icon" |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 71 | android:layout_width="@dimen/qs_header_alarm_icon_size" |
| 72 | android:layout_height="@dimen/qs_header_alarm_icon_size" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 73 | android:tint="?android:attr/textColorPrimary" |
| 74 | android:visibility="gone"/> |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 75 | |
| 76 | <TextView |
Amin Shaikh | ef06dc2 | 2018-04-06 10:50:23 -0400 | [diff] [blame] | 77 | android:id="@+id/ringer_mode_text" |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 78 | android:layout_width="wrap_content" |
| 79 | android:layout_height="wrap_content" |
| 80 | android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start" |
Amin Shaikh | 50d2d1e | 2018-04-25 14:48:13 -0400 | [diff] [blame] | 81 | android:textAppearance="@style/TextAppearance.QS.TileLabel" |
| 82 | android:visibility="gone"/> |
Amin Shaikh | 761c566 | 2018-03-27 16:55:43 -0400 | [diff] [blame] | 83 | |
Rohan Shah | d3cf756 | 2018-02-23 11:12:28 -0800 | [diff] [blame] | 84 | </LinearLayout> |
| 85 | |
| 86 | </FrameLayout> |