Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a020a4bb authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent 1e372e67
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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