Can anyone suggest a best method to show pop up with close button by default in Xamarin forms with animations. To be more specific, if we are clicking on a card, it should come from the location of tap or click.
I have used xlabs for the same. Is there any other packages that I can use?
Could you share a sample code if possible?
Related
Im using prism with my xamarin forms application. i use master detail with the exact structure that you used but when i change detail page my back button wont work and when i click on back button in android it just close the app. and also the back button in toolbar wont show either. how can i fix this?
this picture belongs to time that i've changed the detail page that you can see there is no back button there
Version with issue: 7.0.0.396
Xamarin.Forms version: 3.0.0.482510
IDE: VS 15.7.1
enter image description here
I am building an app in Visual studio with crossed platform in Xamarin.Forms.
I have been trying to change the back arrow button in the navigation UI to an image in stead of the arrow, but I haven't found any good examples.
Is there anyone here who can help me?
Back arrow button in navigation bar is default feature. I think it can't be changed. If you want to change it then you should use a custom navigation bar.
I am newest in Xamarin and have question for developers with more experiences.
I want to hide custom picker when user clicks anywhere any view in app. This working with view where is custom picker opened, but when I click on toolbar he remains opened. This problem is existing only on iOS, Android work as expected.
Could i make whole toolbar to be clickable and how?
Thanks in advance
In the Picker Toolbar you can set UIBarButtonItem to add Done button. Then you can add a Click Event for the Done button and write following code in it.
YourPicker.RemoveFromSuperview();
YourPickerView.RemoveFromSuperview();
textField.ResignFirstResponder();
I am doing cart program. What I wanted to do is when a user clicks on a item it needs to display a custom action sheet where user can enter the quantity for that item.
At present I am doing with 2 pages. Once user clicks it will navigate to another where user can enter the quantity.
I can do it with Xamarin Android. However I don't have an idea how can I achieve it with Xamarin Forms and Prism.
Any guidance will be most welcome.
also this doesn't work for me.
Xamarin Forms/Prism Custom Popup
Neither the ActionSheet or the ActionSheet are directly customizable since the Prism service just abstracts the call to the underlying Xamarin Forms DisplayAlert or ActionSheet methods. There is preview of a Plugin for providing custom ActionSheets and AlertDialogs using a customized PopupPage. You can checkout the Prism.Plugin.PageDialogs on GitHub.
I am new to xamarin forms, I have a requirements that should hide the mobile keyboard when user click search button.
I am not sure yet how to do it in xamarin forms
There are a couple of ways to do this, the most common are as follows:
View.ResignFirstResponder();
OR
View.EndEditing(true);