[DESCRIPTION] Launcher3主菜单背景不透wallpaper [SOLUTION] AppsCustomizeTabHost控制的 在\packages\apps\Launcher3\src\com\android\launcher3\AppsCustomizeTabHost.java private void onTabChangedEnd(AppsCustomizePagedView.ContentType type) { int bgAlpha = (int) (255 * (getResources().getInteger( R.integer.config_appsCustomizeSpringLoadedBgAlpha) / 100f)); setBackgroundColor(Color.argb(bgAlpha, 0, 0, 0)); //bgAlpha 是透明度,如果不透wallpaper,需要透明度为ff,即255 mAppsCustomizePane.setContentType(type); } 按照上面代码逻辑,要不透明,需要修改config_appsCustomizeSpringLoadedBgAlpha为100
Launcher3主菜单背景不透wallpaper
最新推荐文章于 2024-01-03 17:39:30 发布