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
2018-01-10 16:55:49 +00:00
parent 383b7fa02a
commit 4233405016
3 changed files with 45 additions and 1 deletions

View File

@@ -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;