1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2021 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 18<ConstraintSet 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:app="http://schemas.android.com/apk/res-auto" 21 android:id="@+id/qqs_header_constraint" 22> 23 24 <Constraint 25 android:id="@+id/clock"> 26 <Layout 27 android:layout_width="wrap_content" 28 android:layout_height="@dimen/large_screen_shade_header_min_height" 29 app:layout_constraintStart_toStartOf="@id/begin_guide" 30 app:layout_constraintTop_toTopOf="parent" 31 app:layout_constraintBottom_toBottomOf="parent" 32 app:layout_constraintEnd_toStartOf="@id/date" 33 app:layout_constraintHorizontal_bias="0" 34 app:layout_constraintHorizontal_chainStyle="packed" 35 /> 36 <Transform 37 android:scaleX="1" 38 android:scaleY="1" 39 /> 40 </Constraint> 41 42 <Constraint 43 android:id="@+id/date"> 44 <Layout 45 android:layout_width="wrap_content" 46 android:layout_height="@dimen/new_qs_header_non_clickable_element_height" 47 android:layout_marginStart="8dp" 48 app:layout_constrainedWidth="true" 49 app:layout_constraintStart_toEndOf="@id/clock" 50 app:layout_constraintEnd_toStartOf="@id/barrier" 51 app:layout_constraintBaseline_toBaselineOf="@id/clock" 52 app:layout_constraintHorizontal_bias="0" 53 /> 54 </Constraint> 55 56 <Constraint 57 android:id="@+id/statusIcons"> 58 <Layout 59 android:layout_width="wrap_content" 60 android:layout_height="@dimen/new_qs_header_non_clickable_element_height" 61 app:layout_constraintHeight_min="@dimen/new_qs_header_non_clickable_element_height" 62 app:layout_constraintStart_toEndOf="@id/date" 63 app:layout_constraintEnd_toStartOf="@id/batteryRemainingIcon" 64 app:layout_constraintTop_toTopOf="parent" 65 app:layout_constraintBottom_toBottomOf="parent" 66 app:layout_constraintHorizontal_bias="1" 67 app:layout_constraintHorizontal_chainStyle="packed" 68 /> 69 </Constraint> 70 71 <Constraint 72 android:id="@+id/batteryRemainingIcon"> 73 <Layout 74 android:layout_width="wrap_content" 75 android:layout_height="@dimen/new_qs_header_non_clickable_element_height" 76 app:layout_constraintHeight_min="@dimen/new_qs_header_non_clickable_element_height" 77 app:layout_constraintStart_toEndOf="@id/statusIcons" 78 app:layout_constraintEnd_toEndOf="@id/end_guide" 79 app:layout_constraintTop_toTopOf="parent" 80 app:layout_constraintBottom_toBottomOf="parent" 81 app:layout_constraintHorizontal_bias="1" 82 app:layout_constraintHorizontal_chainStyle="packed" 83 /> 84 </Constraint> 85 86 <Constraint 87 android:id="@+id/carrier_group"> 88 <Layout 89 app:layout_constraintWidth_min="48dp" 90 android:layout_width="wrap_content" 91 android:layout_height="@dimen/large_screen_shade_header_min_height" 92 app:layout_constraintEnd_toEndOf="parent" 93 app:layout_constraintTop_toTopOf="parent" 94 /> 95 <PropertySet 96 android:alpha="0" 97 /> 98 </Constraint> 99 100 <Constraint 101 android:id="@+id/privacy_container"> 102 <Layout 103 android:layout_width="wrap_content" 104 android:layout_height="@dimen/large_screen_shade_header_min_height" 105 app:layout_constraintStart_toEndOf="@id/date" 106 app:layout_constraintEnd_toEndOf="@id/end_guide" 107 app:layout_constraintTop_toTopOf="parent" 108 app:layout_constraintBottom_toBottomOf="parent" 109 app:layout_constraintHorizontal_bias="1" 110 /> 111 </Constraint> 112</ConstraintSet>