Scale down chip proportional to TaskView becoming fullscreen.
Merging into ub-launcher3-master manually as automerger failed. Tested: Manual Change-Id: Ic8e6dd6ba83206d67ee27d4af9d56639e9e43ff9
This commit is contained in:
1 parent
017c93488c
commit
639505c23b
1 file changed
+5
-1
@@ -563,7 +563,11 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
|
||||
.getInterpolation(progress);
|
||||
mIconView.setScaleX(scale);
|
||||
mIconView.setScaleY(scale);
|
||||
|
||||
if (mContextualChip != null && mContextualChipWrapper != null) {
|
||||
mContextualChipWrapper.setAlpha(scale);
|
||||
mContextualChip.setScaleX(scale);
|
||||
mContextualChip.setScaleY(scale);
|
||||
}
|
||||
updateFooterVerticalOffset(1.0f - scale);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user