diff --git a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java index 7d5b99b7a313269f29dffe3ee4cbb9ce44261f99..76e3206d184154567d94a95352acf010c5565d00 100755 --- a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java @@ -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() { diff --git a/app/src/main/res/layout/widgets_page.xml b/app/src/main/res/layout/widgets_page.xml index 2b75512e5e7b0fd425513de1872bc110a5c11f04..d894ac4a836eec03cdfa89f159aff72bdad42485 100755 --- a/app/src/main/res/layout/widgets_page.xml +++ b/app/src/main/res/layout/widgets_page.xml @@ -94,7 +94,9 @@ android:layout_marginLeft="8dp" android:layout_marginRight="8dp" android:layout_toLeftOf="@id/max_label" - android:layout_toEndOf="@id/min_label" /> + android:layout_toEndOf="@id/min_label" + android:thumbTint="@color/accent_color" + android:progressTint="@color/accent_color" /> #4dcbcbcb #26ffffff + #0086FF