blob: 075f51d2e17ac6eaeff82f4690e6552685b668cb [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"
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050028 android:layout_gravity="start|bottom"
Rohan Shahd3cf7562018-02-23 11:12:28 -080029 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
Rohan Shahd3cf7562018-02-23 11:12:28 -080036 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050038 android:layout_gravity="start|bottom"
39 android:gravity="center_vertical">
Rohan Shahd3cf7562018-02-23 11:12:28 -080040
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050041 <LinearLayout
42 android:id="@+id/status_container"
Rohan Shahd3cf7562018-02-23 11:12:28 -080043 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050045 android:layout_gravity="start|center_vertical"
46 android:layout_weight="1"
47 android:gravity="center_vertical"
48 android:alpha="0">
49
50 <ImageView
51 android:id="@+id/next_alarm_icon"
52 android:layout_width="@dimen/qs_header_alarm_icon_size"
53 android:layout_height="@dimen/qs_header_alarm_icon_size"
54 android:src="@drawable/stat_sys_alarm"
55 android:tint="?android:attr/textColorPrimary"
56 android:visibility="gone"/>
57
58 <TextView
59 android:id="@+id/next_alarm_text"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start"
63 android:textAppearance="@style/TextAppearance.QS.Status"
64 android:visibility="gone"/>
65
66 <View
67 android:id="@+id/status_separator"
68 android:layout_width="@dimen/qs_header_separator_width"
69 android:layout_height="match_parent"
70 android:visibility="gone"/>
71
72 <ImageView
73 android:id="@+id/ringer_mode_icon"
74 android:layout_width="@dimen/qs_header_alarm_icon_size"
75 android:layout_height="@dimen/qs_header_alarm_icon_size"
76 android:tint="?android:attr/textColorPrimary"
77 android:visibility="gone"/>
78
79 <TextView
80 android:id="@+id/ringer_mode_text"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:layout_marginStart="@dimen/qs_header_alarm_text_margin_start"
84 android:textAppearance="@style/TextAppearance.QS.Status"
85 android:visibility="gone"/>
86 </LinearLayout>
Rohan Shahd3cf7562018-02-23 11:12:28 -080087
Amin Shaikh856939f2018-03-29 09:41:45 -040088 <View
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050089 android:minWidth="@dimen/qs_status_separator"
90 android:layout_width="0dp"
Amin Shaikh856939f2018-03-29 09:41:45 -040091 android:layout_height="match_parent"
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050092 android:layout_weight="1"/>
Amin Shaikh761c5662018-03-27 16:55:43 -040093
Fabian Kozynski4e76d1f2019-02-25 16:30:04 -050094 <include layout="@layout/qs_carrier_group"
95 android:id="@+id/carrier_group"
96 android:layout_width="wrap_content"
97 android:layout_height="wrap_content"
98 android_layout_gravity="center vertical|end"/>
Rohan Shahd3cf7562018-02-23 11:12:28 -080099 </LinearLayout>
100
101</FrameLayout>