SurfaceView punches through the window where it is for you to see the surface behind it, so you won't see the background drawn by the theme.
On Sun, Sep 6, 2009 at 3:05 AM, Illidane <[email protected]> wrote: > > Hi! > Why two examples from ApiDemos - "TranslucentGLSurfaceView" and > "Translucent" are using same custom theme in the Android.manifest > file : android:theme="@style/Theme.Transparent, but looking different? > "Translucent" has a darker background, and "TranslucentGLSurfaceView" > has a 100% alfa. > And one more thing. Why when I call > getWindow().setFlags > (WindowManager.LayoutParams.FLAG_BLUR_BEHIND, > WindowManager.LayoutParams.FLAG_BLUR_BEHIND); > in the "TranslucentGLSurfaceView" it blurs all cube, not background > and show only 1-2 FPS. > Thanks! > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

