Wednesday, August 1, 2012

Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error

If you put your device in Accessibility mode (and on ICS enable 'touch to explore'), then simply touching the screen and moving your finger on the screen will generate hover events instead of move events. Touching the screen with two fingers will generate move events, or double-tapping will generate a single click. 

This is for use for people with visual impairments, allowing them to explore the by touching the screen without actually activating the items under their fingers. A second tap or the use of two fingers will activate actions or move stuff around.

On Tuesday, July 31, 2012 3:23:13 PM UTC-4, bob wrote:
What do you mean "hover events seem to work somewhat better"?  What's a hover event on a touchscreen?


On Tuesday, July 31, 2012 12:54:25 PM UTC-5, Streets Of Boston wrote:
Thank you Mark.

I've been trying to update our app to the latest and greatest in JellyBean accessibility. This is one issue I encountered.

I've also been trying to implement some AccesibilityDelegate and AccessibilityNodeProvider implementations of our own custom views to establish a virtual view hierarchy, but without any success. Even the samples (ApiDemos) for accessibility can't handle the accessibility-focus events well (hover events seem to work somewhat better). I wish there were some proper examples - that work! - of how to make a fully accessible (also on JellyBean) custom view with a custom virtual view hierarchy.  Do you know of any?


On Tuesday, July 31, 2012 12:45:16 PM UTC-4, Mark Murphy (a Commons Guy) wrote:
On Tue, Jul 31, 2012 at 12:31 PM, Streets Of Boston
 wrote:
> If this is not the way to do it, how would one prevent accessibility focus
> to a particular control?

Beats me. Sorry!

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in DC: http://marakana.com/training/android/

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment