正常情况下的样子:
下拉App抽屉后的样子:
修改方案:
qssi14/packages/apps/Launcher3/src/com/android/launcher3/allapps/ActivityAllAppsContainerView.java
protected void updateHeaderScroll(int scrolledOffset) {float prog1 = Utilities.boundToRange((float) scrolledOffset / mHeaderThreshold, 0f, 1f);int headerColor = getHeaderColor(prog1);
//注释相关代码
// int tabsAlpha = mHeader.getPeripheralProtectionHeight() == 0 ? 0
// : (int) (Utilities.boundToRange(
// (scrolledOffset + mHeader.mSnappedScrolledY) /mHeaderThreshold, 0f, 1f)
// * 255);
// if (headerColor != mHeaderColor || mTabsProtectionAlpha != tabsAlpha) {
// mHeaderColor = headerColor;
// mTabsProtectionAlpha = tabsAlpha;
// invalidateHeader();
// }if (mSearchUiManager.getEditText() == null) {return;}