[mono-android] Howto have full screen with SplashScreen
Monodroyd
monodroyd at gmail.com
Mon Feb 20 11:28:30 UTC 2012
You can also programmatically do it in C#:
https://monodroyd.wordpress.com/2012/01/16/setting-fullscreen-activity-in-mono-for-android/
On Fri, Feb 17, 2012 at 9:32 AM, Michel <saturne at ka-team.com> wrote:
Hello.
>
> I use a splash screen before StartActivity(realactivity)
> [Activity (Label = "@string/app_name",
> MainLauncher = true,
> Theme= "@style/Theme.Splash",
> Icon = "@drawable/Icon",
> NoHistory = true
> )]
>
> in my activity (the reel activity), i do
>
> Window.SetFlags(WindowManagerFlags.Fullscreen,WindowManagerFlags.Fullscreen);
>
> To have app in full screen.
>
> In MainLauncher, if i use window.setflags, app is in full screen in a
> second
> time (normal)
>
> The problem, in the declaration of my activity, i use 'Theme = ..' to have
> a
> splash screen, so i can't use a second time Theme to have full screen.
>
> So, how to have a fullscreen Slaphscreen in C# method (i prefer if
> possible,
> don't create the AndroidManifest.xml just for this)
>
> Have a idea?
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Howto-have-full-screen-with-SplashScreen-tp5492672p5492672.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120220/4a521878/attachment.html>
More information about the Monodroid
mailing list