mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Fix sizing of FloatingIconView so that it matches the workspace.
* Added a cross fade at the end for text and shadows. * Animate in FolderIcon bg/dot/text after swapping. Bug: 129297366 Change-Id: Ieeb5d7b8fb389a2f7ee263d38b3021ffdefefd93
This commit is contained in:
@@ -480,7 +480,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
*/
|
||||
public ObjectAnimator createTextAlphaAnimator(boolean fadeIn) {
|
||||
float toAlpha = shouldTextBeVisible() && fadeIn ? 1 : 0;
|
||||
return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, toAlpha);
|
||||
float fromAlpha = toAlpha == 1 ? 0 : 1f;
|
||||
return ObjectAnimator.ofFloat(this, TEXT_ALPHA_PROPERTY, fromAlpha, toAlpha);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user