Change NavBar to transparent black
b/30615471 Change-Id: I7885e8a7fd63ee10c9b0107087046730e8acfde9
This commit is contained in:
@@ -28,6 +28,7 @@ import com.android.launcher3.BaseRecyclerView;
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
import com.android.launcher3.DeviceProfile;
|
||||
import com.android.launcher3.ItemInfo;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.R;
|
||||
import com.android.launcher3.logging.UserEventDispatcher.LaunchSourceProvider;
|
||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
||||
@@ -423,6 +424,12 @@ public class AllAppsRecyclerView extends BaseRecyclerView
|
||||
return getPaddingTop() + y - offset;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getVisibleHeight() {
|
||||
return super.getVisibleHeight()
|
||||
- Launcher.getLauncher(getContext()).getDragLayer().getInsets().bottom;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the available scroll height:
|
||||
* AvailableScrollHeight = Total height of the all items - last page height
|
||||
|
||||
Reference in New Issue
Block a user