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

Commit 089d3e0d authored by Suphon Thanakornpakapong's avatar Suphon Thanakornpakapong
Browse files

Fix widget size seekbar position

parent fd3f907f
Loading
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -3280,9 +3280,8 @@ public class LauncherActivity extends AppCompatActivity implements
            });

            AnimatorSet set = new AnimatorSet();
            set.play(ObjectAnimator.ofFloat(widgetResizeContainer, View.Y,
                    mDeviceProfile.availableHeightPx,
                    mDeviceProfile.availableHeightPx - Utilities.pxFromDp(48, this)));
            set.play(ObjectAnimator.ofFloat(widgetResizeContainer, View.TRANSLATION_Y,
                    Utilities.pxFromDp(48, this), 0));
            set.setDuration(200);
            set.setInterpolator(new LinearInterpolator());
            set.addListener(new AnimatorListenerAdapter() {
@@ -3366,8 +3365,8 @@ public class LauncherActivity extends AppCompatActivity implements
                currentAnimator.cancel();
            }
            AnimatorSet set = new AnimatorSet();
            set.play(ObjectAnimator.ofFloat(widgetResizeContainer, View.Y,
                    mDeviceProfile.availableHeightPx));
            set.play(ObjectAnimator.ofFloat(widgetResizeContainer, View.TRANSLATION_Y,
                    Utilities.pxFromDp(48, this)));
            set.setDuration(200);
            set.setInterpolator(new LinearInterpolator());
            set.addListener(new AnimatorListenerAdapter() {