Add peek to work tab animation

Only the tab is moved, the RV does not.

Fix: 71748023

Change-Id: I99216e9072df03104dd0644f3909e8b49e07faf0
This commit is contained in:
Tony Mak committed 2018-01-10 18:02:47 +00:00
1 parent 383b7fa02a
commit 4233405016
3 files changed
+45 -1

No files matched your search

@@ -607,6 +607,12 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
return mHeader != null && mHeader.getVisibility() == View.VISIBLE;
}
public void onScrollUpEnd() {
if (mUsingTabs) {
((PersonalWorkSlidingTabStrip) findViewById(R.id.tabs)).peekWorkTabIfNecessary();
}
}
public class AdapterHolder {
public static final int MAIN = 0;
public static final int WORK = 1;