Change date with clock in QS headers

The date row is always at the top of the screen, now it's always
visible. Instead, fade in the clock as QS is expanded.

Test: manual
Fixes: 190407498
Change-Id: I2c63fa7750ae2523648f0d8987cb2686a425e1a7
This commit is contained in:
Fabian Kozynski
2021-06-07 16:06:27 -04:00
parent 1e372e6744
commit a020a4bb65

View File

@@ -249,10 +249,9 @@ public class QuickStatusBarHeader extends FrameLayout {
private void updateAlphaAnimator() {
TouchAnimator.Builder builder = new TouchAnimator.Builder()
// The following two views have to be hidden manually, so as not to hide the
// Privacy chip in QQS
.addFloat(mDateView, "alpha", 0, 1)
.addFloat(mSecurityHeaderView, "alpha", 0, 1)
// These views appear on expanding down
.addFloat(mClockView, "alpha", 0, 1)
.addFloat(mQSCarriers, "alpha", 0, 1)
.setListener(new TouchAnimator.ListenerAdapter() {
@Override