Merge "Adding overscroll effect in recents list" into ub-launcher3-edmonton-polish

This commit is contained in:
Sunny Goyal
2018-06-12 16:56:02 +00:00
committed by Android (Google) Code Review
3 changed files with 13 additions and 60 deletions

View File

@@ -259,7 +259,8 @@ public abstract class RecentsView<T extends BaseActivity> extends PagedView impl
public RecentsView(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
setPageSpacing(getResources().getDimensionPixelSize(R.dimen.recents_page_spacing));
enableFreeScroll(true);
setEnableFreeScroll(true);
setEnableOverscroll(true);
setClipToOutline(true);
mFastFlingVelocity = getResources()