You can try to paint another color in SurfaceView::draw(Canvas canvas) http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/view/SurfaceView.java;h=03ae6dc6a3aa42d060ce44eadcea1747a7e3e60b;hb=75c567a8dc16634477962f9bafa5205948b974c3
On Wed, Jun 10, 2009 at 7:52 PM, Jill Zhou <ruohong.z...@gmail.com> wrote: > > As the following discussion says: > > > http://groups.google.com/group/android-framework/browse_thread/thread/ffe7dacf83567b7b/91f38f50fc17e036?lnk=gst&q=overlay#91f38f50fc17e036 > > "SurfaceFlinger just leaves a hole in the 2D composited frame (black > pixels with alpha = 0) to allow overlay surface to show through the 2D > surfaces." > > I wonder where to change the default black color of the hole. So that > we can set a specific color key for it, and make overlay show through. > > Regards, > Jill > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---