mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Exposing some private methods to easily customize widgets popup
Change-Id: Ie7bd879200b1f14d472ff03fd64429930651a39f
This commit is contained in:
@@ -71,7 +71,7 @@ public class WidgetsBottomSheet extends BaseWidgetSheet implements Insettable {
|
||||
|
||||
onWidgetsBound();
|
||||
|
||||
mLauncher.getDragLayer().addView(this);
|
||||
getPopupContainer().addView(this);
|
||||
mIsOpen = false;
|
||||
animateOpen();
|
||||
}
|
||||
@@ -118,7 +118,7 @@ public class WidgetsBottomSheet extends BaseWidgetSheet implements Insettable {
|
||||
LayoutInflater.from(getContext()).inflate(R.layout.widget_list_divider, parent, true);
|
||||
}
|
||||
|
||||
private WidgetCell addItemCell(ViewGroup parent) {
|
||||
protected WidgetCell addItemCell(ViewGroup parent) {
|
||||
WidgetCell widget = (WidgetCell) LayoutInflater.from(getContext()).inflate(
|
||||
R.layout.widget_cell, parent, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user