Reputation: 1640
Does any one know how to hide or minimize a xamarin app ? I have an exit button on my app, i want to hide the app when the user clicks this exit button, just like Skype exit button.
In windows forms i use this command to hide an app :
this.WindowState = FormWindowState.Minimized;
Upvotes: 2
Views: 3653
Reputation: 1
Intent main = new Intent(Intent.ActionMain);
main.AddCategory(Intent.CategoryHome);
main.SetFlags(ActivityFlags.NewTask);
StartActivity(main);
Upvotes: 0
Reputation: 89082
Intent main = new Intent(Intent.ActionMain);
main.AddCategory(Intent.CategoryHome);
StartActivity(main);
Upvotes: 4