Intent intent = new Intent(context, NewActivity.class);
Is it possible to make the new activity translucent / transparent, so that you can see the OpenGL-Surface beneath it?
Is there any way to get the application context dynamically respectively to perform a call to "getApplicationContext()" from anywhere of the project?
public abstract class StaticApplicationContext
private static Context appContext;
public static Context get()
public static void set(Context newAppContext)
if (appContext == null)
appContext = newAppContext;
if (StaticApplicationContext.get() == null)
MichaelEGR wrote:Is it possible to make the new activity translucent / transparent, so that you can see the OpenGL-Surface beneath it?
It should be with a few more theme stylings. This SO post discusses it though I've not verified / tested:
http://stackoverflow.com/questions/2176 ... in-android
Thank you! I've found this SO post yesterday by myself and played with the styles for hours without a satisfying result. Five minutes ago I've switched just for fun from my honeycomb-tablet to my gingerbread-phone and run my app there... with (!!!) a transparent activity background as wished! Damn inconsistency...
Users browsing this forum: No registered users and 4 guests