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="@id/qqs_header_bottom_guideline" 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/shade_header_system_icons"> 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_toEndOf="@id/end_guide" 64 app:layout_constraintTop_toTopOf="parent" 65 app:layout_constraintBottom_toBottomOf="@id/qqs_header_bottom_guideline" 66 app:layout_constraintHorizontal_bias="1" 67 app:layout_constraintHorizontal_chainStyle="packed" 68 /> 69 </Constraint> 70 71 <Constraint 72 android:id="@+id/carrier_group"> 73 <Layout 74 app:layout_constraintWidth_min="48dp" 75 android:layout_width="wrap_content" 76 android:layout_height="@dimen/large_screen_shade_header_min_height" 77 app:layout_constraintEnd_toEndOf="parent" 78 app:layout_constraintTop_toTopOf="parent" 79 /> 80 <PropertySet 81 android:alpha="0" 82 /> 83 </Constraint> 84 85 <Constraint 86 android:id="@+id/privacy_container"> 87 <Layout 88 android:layout_width="wrap_content" 89 android:layout_height="@dimen/large_screen_shade_header_min_height" 90 app:layout_constraintStart_toEndOf="@id/date" 91 app:layout_constraintEnd_toEndOf="@id/end_guide" 92 app:layout_constraintTop_toTopOf="parent" 93 app:layout_constraintBottom_toBottomOf="@id/qqs_header_bottom_guideline" 94 app:layout_constraintHorizontal_bias="1" 95 /> 96 </Constraint> 97</ConstraintSet>