I am trying to implement Accessibility in react native application(used Accessibility API). I have a Volume button in my app, with two states (Mute state and normal state). I need to update the AccessibilityLabel according to the state change.
accessibilityLabel={this.state.muted? 'Volume Button' : 'Volume Button muted'}
I have achieved this Accessibility label in iOS, in Android it is not working?What is the solution for this? Do I need to pass any events in Android?
with those two props, the VoiceOver and TalkBack should work fine:
accessible={true}
accessibilityLabel={this.state.muted? 'Volume Button' : 'Volume Button muted'}
Related
Is it possible to implement a draggable view with Xamarin View? Is there basically an event that I can use that gets triggered when a finger is pressed on the screen, then moved and then released without having to use native Android/iOS code? I don't mean a swipe event, I know this exists. I am looking for a event so I can let the user be able to drag a rectangle across the screen for example.
Looked for it on the internet, but can only seem to find just normal Touch, Swipe and Tap events. (Although I found it is possible using native Android/IOS code.
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.
Do we have a way to activate mouse gesture on UWP Desktop for a computer that does not have touch capability? On IOS (in the simulator) we can use the mouse to do PullToRefresh or CellSwipe on Listview.
I use Xamarin.forms
The problem here is that the ListView control in Xamarin.Forms doesn't Support PullToRefresh or CellSwipe on UWP. So you have to implement these functionalities by yourself and you can use the code provided by Shubham Sahu in the comments or you take a look at third pary libraries like Syncfusion. They provide also a ListView Control which is already able to handle PullToRefresh or CellSwipe on UWP.
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
In the apple watch's passcode setting screen the passcode on top updates as soon as a user clicks on the buttons and not after lifting the finger. How can one achieve that in Xcode 6.3? Because the only event that triggers the ibaction is the touch up event
I don't think that behavior is possible with the current version of WatchKit. Apple is likely using their own internal method to accomplish that (as they do with many/most of the default Watch apps). Hopefully we'll get more functionality in the next major update.