Tuesday, July 31, 2012

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

Hi,

I have a text-view next to a seekbar. The seekbar is accessible and announces its current value. The text-view also shows this value. 
For accessibility, I'd like to make the text-view not accessibility-focusable, since the seekbar already is (no use in stating the same thing twice).

However, when adding android:accessibilityFocusable="no" to the layout xml, I get this error:
No resource identifier found for attribute 'accessibilityFocusable' in package 'android' page_slider_layout.xml /KnfbBlio/res/layout line 37 Android AAPT Problem

The project build target is 4.1 (api level 16). 
The targetSdk in the AndroidManifest.xml is set to 16 as well.

Any idea what the problem could be?

Thanks!

--
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