WallpaperManager wallpaperManager = WallpaperManager.getInstance(getActivity());
Drawable wallpaperDrawable = wallpaperManager.getDrawable();
//isbackGroundColor为颜色滤镜
if(isbackGroundColor!=null){//添加设置滤镜效果
wallpaperDrawable.setColorFilter(Integer.parseInt(isbackGroundColor), Mode.SRC_OVER );}
rootView.setBackgroundDrawable(wallpaperDrawable);
颜色滤镜可增加透明度