Search code examples
androidtranslucency

Android translucent theme


I have on one side, an android application. On the other side a video stream.

The two of them are combined together using an image mixer that puts the android application over the video stream.

Something similar to tv banner: tv banner

I am trying to make the android application translucent in order to "see through" to the image under it.

My problem is that when I set the android application theme to @android:style/Theme.Translucent.NoTitleBar.Fullscreen , I then see the wallpaper and the launcher of Android OS.

This image found online shows the result: Result of translucent theme

I there a way to get rid of the wallpaper and the launcher behind the application to not have anything behind?

Thanks.


Solution

  • If you're seeing the launcher, it doesn't sound like your app is on top of the video, your app is around the video. Step 1 for this would be to make the video fullscreen, then put the app on top of it. Then the transparency code will work.