Bottom user education view shown in work tab

Introduced a BottomUserEducationView for similar use case.

Screenshot: https://hsv.googleplex.com/4856820942241792

BUG=69963630

Change-Id: Ia818ee44fa5ce97ad1778f33e6a9a3a36cea5017
This commit is contained in:
Tony Mak authored and Sunny Goyal committed 2017-12-04 17:36:33 -08:00
1 parent 4018f3df14
commit 191b688cc8
11 files changed
+369 -145

No files matched your search

@@ -60,6 +60,7 @@ import com.android.launcher3.util.ComponentKeyMapper;
import com.android.launcher3.util.ItemInfoMatcher;
import com.android.launcher3.util.PackageUserKey;
import com.android.launcher3.util.TransformingTouchDelegate;
import com.android.launcher3.views.BottomUserEducationView;
import com.android.launcher3.views.SlidingTabStrip;
import java.util.HashMap;
@@ -515,6 +516,9 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
if (mAH[pos].recyclerView != null) {
mAH[pos].recyclerView.bindFastScrollbar();
}
if (pos == AdapterHolder.WORK) {
BottomUserEducationView.showIfNeeded(mLauncher);
}
}
@Override