Wednesday, August 1, 2012

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

This is an internal attribute that you can't use. Unfortunately ADT
doesn't properly ignore those when it reads the framework attributes
and offers it to you.

I don't know of any other options for you. Sorry.

On Tue, Jul 31, 2012 at 7:59 AM, Streets Of Boston
<flyingdutchie@gmail.com> wrote:
> 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



--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. 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