2.2 的mainmenu默认走buildDrawingCache的else分支,quality等于Bitmap.Config.ARGB_8888 -----------------------------------------
public void buildDrawingCache(boolean autoScale) {
 
         final boolean translucentWindow = attachInfo != null && attachInfo.mTranslucentWindow;
 
} else {
    // Optimization for translucent windows
    // If the window is translucent, use a 32 bits bitmap to benefit from memcpy()
    quality = translucentWindow ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
}
 
}-----------------------------------------
ViewRoot.java
    attachInfo.mTranslucentWindow = lp.format != PixelFormat.OPAQUE;
-----------------------------------------用buildDrawingCache建立缓存时,如何修改程序or设定xml文件,让translucentWindow = Bitmap.Config.RGB_565 ?等待解答,谢谢!