Use alpha 0 in icons and battery when privacy indicators are visible in QQS constraint. Test: manual, using handheld and split shade layout Bug: 202847414 Change-Id: I8b523c9f87c78fd4eac99a421eebaec90e37cadf
78 lines
2.5 KiB
XML
78 lines
2.5 KiB
XML
<?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="0dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/date"
|
|
app:layout_constraintHorizontal_bias="0"
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
/>
|
|
</Constraint>
|
|
|
|
<Constraint
|
|
android:id="@+id/date">
|
|
<Layout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintStart_toEndOf="@id/clock"
|
|
app:layout_constraintEnd_toStartOf="@id/carrier_group"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintHorizontal_bias="0"
|
|
/>
|
|
</Constraint>
|
|
|
|
<Constraint
|
|
android:id="@+id/statusIcons">
|
|
</Constraint>
|
|
|
|
<Constraint
|
|
android:id="@+id/batteryRemainingIcon" >
|
|
</Constraint>
|
|
|
|
<Constraint
|
|
android:id="@+id/carrier_group">
|
|
<CustomAttribute
|
|
app:attributeName="alpha"
|
|
app:customFloatValue="0"
|
|
/>
|
|
</Constraint>
|
|
|
|
<Constraint
|
|
android:id="@+id/privacy_container">
|
|
<Layout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/date"
|
|
app:layout_constraintBottom_toBottomOf="@id/date"
|
|
/>
|
|
</Constraint>
|
|
|
|
</ConstraintSet> |