| <?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/qqs_header_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="@id/begin_guide" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="@id/qqs_header_bottom_guideline" |
| app:layout_constraintEnd_toStartOf="@id/date" |
| app:layout_constraintHorizontal_bias="0" |
| app:layout_constraintHorizontal_chainStyle="packed" |
| /> |
| <Transform |
| android:scaleX="1" |
| android:scaleY="1" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/date"> |
| <Layout |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/new_qs_header_non_clickable_element_height" |
| android:layout_marginStart="8dp" |
| app:layout_constrainedWidth="true" |
| app:layout_constraintStart_toEndOf="@id/clock" |
| app:layout_constraintEnd_toStartOf="@id/barrier" |
| app:layout_constraintBaseline_toBaselineOf="@id/clock" |
| app:layout_constraintHorizontal_bias="0" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/shade_header_system_icons"> |
| <Layout |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/new_qs_header_non_clickable_element_height" |
| app:layout_constraintHeight_min="@dimen/new_qs_header_non_clickable_element_height" |
| app:layout_constraintStart_toEndOf="@id/date" |
| app:layout_constraintEnd_toEndOf="@id/end_guide" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="@id/qqs_header_bottom_guideline" |
| app:layout_constraintHorizontal_bias="1" |
| app:layout_constraintHorizontal_chainStyle="packed" |
| /> |
| </Constraint> |
| |
| <Constraint |
| android:id="@+id/carrier_group"> |
| <Layout |
| app:layout_constraintWidth_min="48dp" |
| android:layout_width="wrap_content" |
| android:layout_height="@dimen/large_screen_shade_header_min_height" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintTop_toTopOf="parent" |
| /> |
| <PropertySet |
| android:alpha="0" |
| /> |
| </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_constraintStart_toEndOf="@id/date" |
| app:layout_constraintEnd_toEndOf="@id/end_guide" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintBottom_toBottomOf="@id/qqs_header_bottom_guideline" |
| app:layout_constraintHorizontal_bias="1" |
| /> |
| </Constraint> |
| </ConstraintSet> |