• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Accessibility for android fragment stack

vijesh

Lurker
I was working on accessibility implementation.Everything works fine except for one screen where I have two fragments added to my activity.

The thing is that the talkback focus is set on the elements of the underneath fragment.

Do you know if there is a way to set the talkback focus on the top fragment ? I just want to move the accessibility focus to fragment that is on top of the stack.
 
Do you want a specific UI component within the fragment to have the focus? If so you can do that by, for example calling requestFocus() on an EditText.
 
Back
Top Bottom