| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| ~ Copyright (C) 2021 The Android Open Source Project |
| ~ |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| ~ you may not use this file except in compliance with the License. |
| ~ You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| |
| <ConstraintSet |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/qs_header_constraint" |
| > |
| |
| <Constraint |
| android:id="@+id/privacy_container"> |
| <Layout |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/large_screen_shade_header_min_height" |
| app:layout_constraintEnd_toEndOf="@id/end_guide" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toTopOf="@id/carrier_group" |
| app:layout_constraintHorizontal_bias="1" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/clock"> |
| <Layout |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/large_screen_shade_header_min_height" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintTop_toBottomOf="@id/privacy_container" |
| app:layout_constraintBottom_toBottomOf="@id/carrier_group" |
| /> |
| <Transform |
| android:scaleX="@dimen/qqs_expand_clock_scale" |
| android:scaleY="@dimen/qqs_expand_clock_scale" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/date"> |
| <Layout |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/new_qs_header_non_clickable_element_height" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintTop_toBottomOf="@id/carrier_group" |
| /> |
| </Constraint> |
| |
| <!-- ShadeHeaderController helps with managing clock width to layout this view --> |
| <Constraint |
| android:id="@+id/carrier_group"> |
| <Layout |
| android:layout_width="0dp" |
| android:layout_height="@dimen/large_screen_shade_header_min_height" |
| app:layout_constraintWidth_min="48dp" |
| app:layout_constraintWidth_default="wrap" |
| app:layout_constraintStart_toStartOf="@id/clock" |
| app:layout_constraintTop_toBottomOf="@id/privacy_container" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintBottom_toTopOf="@id/batteryRemainingIcon" |
| /> |
| <PropertySet |
| android:alpha="1" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/shade_header_system_icons"> |
| <Layout |
| android:layout_width="0dp" |
| android:layout_height="@dimen/new_qs_header_non_clickable_element_height" |
| app:layout_constraintWidth_default="wrap" |
| app:layout_constraintStart_toEndOf="@id/date" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintTop_toTopOf="@id/date" |
| app:layout_constraintBottom_toBottomOf="@id/date" |
| /> |
| </Constraint> |
| |
| </ConstraintSet> |