Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Switch between different Activity instances in Android?

$
0
0

Is it possible to switch between different Activity instances in Android? The reason why I want to do something like this is I want each Activity to have a separate theme. I have a master detail setup and need to show videos and images in full screen. However, I've been having issues with material title bar visibility and toolbar color breaking when I go full screen via NavigationPage.SetHasNavigationBar(this, false); and activity.Window.AddFlags(WindowManagerFlags.Fullscreen); and come back. For pages that need to be full screen, I'd like to use a non-material theme.

Similarly, is it possible to use a single Activity but change themes programmatically?

Either way is fine so long as I can take a break from material.

See related https://bugzilla.xamarin.com/show_bug.cgi?id=38019


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>