Merge "Fix date going missing in QS" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-17 22:06:05 +00:00
committed by Android (Google) Code Review

View File

@@ -167,6 +167,9 @@ public class QSFooter extends LinearLayout implements
if (mAlarmShowing) {
builder.addFloat(mDate, "alpha", 1, 0)
.addFloat(mDateTimeGroup, "translationX", 0, -mDate.getWidth());
} else {
mDate.setAlpha(1);
mDateTimeGroup.setTranslationX(0);
}
mAnimator = builder.build();
setExpansion(mExpansionAmount);