Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a form in a pop-up using xamarin.forms?

I'm using Xamarin.forms and I need to have a login form in a popup view like in the following image:

https://github.com/michaeled/FormsPopup/blob/master/pictures/androidPopup.gif?raw=true

Right now I'm using PushModalAsync, however this makes the new page with the form cover the whole screen, instead of just showing a popup view as I want.

Is there any way to do this using xamarin.forms? If not, is there any cross-platform (Android, iOS and UWP) alternative already implemented?

like image 809
Mr. Phil Avatar asked May 01 '16 01:05

Mr. Phil


People also ask

Is Xamarin forms deprecated?

In May 2020, Microsoft announced that Xamarin. Forms, a major component of its mobile app development framework, would be deprecated in November 2021 in favour of a new . Net based product called MAUI - Multiform App User Interface.


1 Answers

My experience says that XLabs' PopupLayout doesn't work properly sometimes. But there is a really nice library which allow to create complex popups: Rg.Plugins.Popup. The only problem: UWP implementation is missing (but it's going to be released).

like image 138
Mikalai Daronin Avatar answered Sep 22 '22 07:09

Mikalai Daronin