blob: 967e13f05cfb43b3c1067d55887f77a9a1b9a761 [file] [log] [blame]
Rohan Shahd3cf7562018-02-23 11:12:28 -08001<?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 Shahb6a915c2018-03-01 11:57:00 -080032 android:textColor="?android:attr/textColorSecondary"
Rohan Shahd3cf7562018-02-23 11:12:28 -080033 android:visibility="invisible" />
34
35 <LinearLayout
Amin Shaikh761c5662018-03-27 16:55:43 -040036 android:id="@+id/status_container"
Rohan Shahd3cf7562018-02-23 11:12:28 -080037 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_gravity="center_horizontal|bottom"
40 android:gravity="center_vertical"
Fabian Kozynski3f789332018-09-04 16:42:43 -040041 android:alpha="0">
Rohan Shahd3cf7562018-02-23 11:12:28 -080042
43 <ImageView
Amin Shaikhef06dc22018-04-06 10:50:23 -040044 android:id="@+id/next_alarm_icon"
Rohan Shahd3cf7562018-02-23 11:12:28 -080045 android:layout_width="@dimen/qs_header_alarm_icon_size"
46 android:layout_height="@dimen/qs_header_alarm_icon_size"
Amin Shaikhef06dc22018-04-06 10:50:23 -040047 android:src="@drawable/stat_sys_alarm"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040048 android:tint="?android:attr/textColorPrimary"
49 android:visibility="gone"/>
Rohan Shahd3cf7562018-02-23 11:12:28 -080050
51 <TextView
Amin Shaikhef06dc22018-04-06 10:50:23 -040052 android:id="@+id/next_alarm_text"
Rohan Shahd3cf7562018-02-23 11:12:28 -080053 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040056 android:textAppearance="@style/TextAppearance.QS.TileLabel"
57 android:visibility="gone"/>
Rohan Shahd3cf7562018-02-23 11:12:28 -080058
Amin Shaikh856939f2018-03-29 09:41:45 -040059 <View
Amin Shaikh761c5662018-03-27 16:55:43 -040060 android:id="@+id/status_separator"
Amin Shaikh856939f2018-03-29 09:41:45 -040061 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 Shaikh50d2d1e2018-04-25 14:48:13 -040066 android:backgroundTint="?android:attr/textColorPrimary"
67 android:visibility="gone"/>
Amin Shaikh761c5662018-03-27 16:55:43 -040068
69 <ImageView
Amin Shaikhef06dc22018-04-06 10:50:23 -040070 android:id="@+id/ringer_mode_icon"
Amin Shaikh761c5662018-03-27 16:55:43 -040071 android:layout_width="@dimen/qs_header_alarm_icon_size"
72 android:layout_height="@dimen/qs_header_alarm_icon_size"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040073 android:tint="?android:attr/textColorPrimary"
74 android:visibility="gone"/>
Amin Shaikh761c5662018-03-27 16:55:43 -040075
76 <TextView
Amin Shaikhef06dc22018-04-06 10:50:23 -040077 android:id="@+id/ringer_mode_text"
Amin Shaikh761c5662018-03-27 16:55:43 -040078 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start"
Amin Shaikh50d2d1e2018-04-25 14:48:13 -040081 android:textAppearance="@style/TextAppearance.QS.TileLabel"
82 android:visibility="gone"/>
Amin Shaikh761c5662018-03-27 16:55:43 -040083
Rohan Shahd3cf7562018-02-23 11:12:28 -080084 </LinearLayout>
85
86</FrameLayout>