How to disable the keyboard from showing up when the user taps on a time ?
I am using a simple TimePicker in xamarin forms for ios app
To disable the keyboard from showing up when the user taps on a time in a Xamarin.Forms iOS app, you can set the Keyboard property of the TimePicker control to None.
<TimePicker Keyboard="None" />
This will prevent the keyboard from appearing when the user taps on the TimePicker control, and they will be able to select a time using the built-in time picker UI.
Related
I've added drag and drop gesture to a xamarin forms app following microsoft doc :
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/drag-and-drop
Everything works as expected.
Drag is initiated by a long press.
I would like to change this behavior by initiating a drag with a short press.
Is it possible ?
I need to set AutomationId in the navigation back button in order to automate the testing. I am using Xamarin forms default navigation back button, so where I need to add the AUtomationId.
Please help me to solve this issue.
I'm trying to create an editor using Xamarin Forms.
The editor is a webview with content editable and a toolbar below.
You can check my current implementation here.
It works well on Android, when i tap on the button, it executes the javascript on the webview,the keyboard remains open and the webview doesn't loose focus.
On iOS the webview looses focus and the keyboard closes.
Like this:
Any idea on how can i solve this ?
What i tried so far:
Attach to the buttons an effect that calls ResignFirstResponder.
On the content editable, call focus when bluring.
Currently in both iOS and android the time picker works like this: you have a time field, and when you tap it, the time picker pops up and you make your selection.
What I’m trying to find out, in Xamarin forms, is if you can expose the time picker itself as part of the main page’s UI, and not as part of a pop-up. So that you can set the time right on the existing UI without having to load another.
Is that possible?
I have developed a Xamarin forms app for Android and I have a listview and one of devices where I test it has a keyboard, so I use the device with arrow in order to control instead the mouse. But the app that I have developed, doesn’t work with keyboard.
Do you know what should I do in order to work with arrow in order to select item of listview?
Thank you