mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Refactor FolderInsetAnimationCallback to be used with any view
- Update ic_corp_off icon to outline - Remove shadow from work toggle - Translate work fab when keyboard is shown Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y Bug: 191251404 Bug: 191250785 Test: local Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
This commit is contained in:
@@ -132,7 +132,6 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
private ScrimView mScrimView;
|
||||
private int mHeaderColor;
|
||||
|
||||
|
||||
public AllAppsContainerView(Context context) {
|
||||
this(context, null);
|
||||
}
|
||||
@@ -572,6 +571,10 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
return mViewPager == null ? getActiveRecyclerView() : mViewPager;
|
||||
}
|
||||
|
||||
public int getCurrentPage() {
|
||||
return mViewPager != null ? mViewPager.getCurrentPage() : AdapterHolder.MAIN;
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles selection on focused view and returns success
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user