Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
android:accessibilityFocusable attribute in a layout-xml produces an error
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Streets Of Boston  
View profile  
 More options Jul 31 2012, 10:59 am
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Tue, 31 Jul 2012 07:59:10 -0700 (PDT)
Local: Tues, Jul 31 2012 10:59 am
Subject: 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jul 31 2012, 11:11 am
From: Mark Murphy <mmur...@commonsware.com>
Date: Tue, 31 Jul 2012 11:11:15 -0400
Local: Tues, Jul 31 2012 11:11 am
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error
There's no accessibilityFocusable attribute in the documentation, at
least based on a simple search. I don't see anything quite like it in
the list of XML attributes for View. Where did you find this?

On Tue, Jul 31, 2012 at 10:59 AM, Streets Of Boston

--
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Streets Of Boston  
View profile  
 More options Jul 31 2012, 12:31 pm
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Tue, 31 Jul 2012 09:31:52 -0700 (PDT)
Local: Tues, Jul 31 2012 12:31 pm
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error

hi Mark,

I found it in the layout editor (using Eclipse). It shows up as a property
and you can select 'auto', 'yes' or 'no'.

If this is not the way to do it, how would one prevent accessibility focus
to a particular control?

--- Anton.

On Tuesday, July 31, 2012 11:11:15 AM UTC-4, Mark Murphy (a Commons Guy)
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jul 31 2012, 12:45 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Tue, 31 Jul 2012 12:45:16 -0400
Local: Tues, Jul 31 2012 12:45 pm
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error
On Tue, Jul 31, 2012 at 12:31 PM, Streets Of Boston

<flyingdutc...@gmail.com> 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Streets Of Boston  
View profile  
 More options Jul 31 2012, 1:54 pm
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Tue, 31 Jul 2012 10:54:25 -0700 (PDT)
Local: Tues, Jul 31 2012 1:54 pm
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jul 31 2012, 2:15 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Tue, 31 Jul 2012 14:15:41 -0400
Local: Tues, Jul 31 2012 2:15 pm
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error
On Tue, Jul 31, 2012 at 1:54 PM, Streets Of Boston

<flyingdutc...@gmail.com> wrote:
> 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?

Sorry, I haven't looked.

--
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bob  
View profile  
 More options Jul 31 2012, 3:23 pm
From: bob <b...@coolfone.comze.com>
Date: Tue, 31 Jul 2012 12:23:13 -0700 (PDT)
Local: Tues, Jul 31 2012 3:23 pm
Subject: Re: [android-developers] android:accessibilityFocusable attribute in a layout-xml produces an error

What do you mean "hover events seem to work somewhat better"?  What's a
hover event on a touchscreen?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Streets Of Boston  
View profile  
 More options Aug 1 2012, 10:57 am
From: Streets Of Boston <flyingdutc...@gmail.com>
Date: Wed, 1 Aug 2012 07:57:57 -0700 (PDT)
Local: Wed, Aug 1 2012 10:57 am
Subject: 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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Ducrohet  
View profile  
 More options Aug 1 2012, 1:11 pm
From: Xavier Ducrohet <x...@android.com>
Date: Wed, 1 Aug 2012 10:11:54 -0700
Local: Wed, Aug 1 2012 1:11 pm
Subject: 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

--
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »