How can I make focus navigation
to stay inside the current fragment?
Or, how can I set focusable
to false for a whole fragment or view with its all child view?
full explanation:
I'm making my Android app accessible.
I have this situation:
home fragment (A) is being covered by login fragment (B) after clicking on the title "log in". as you can see here:
after click on "log in", login fragment gets focus, and until clicking on back
I want the accessibility focus
to stay inside the login fragment (when the user navigate through focus navigation) rather then keep jumping between covered elements in fragment A.
How can I make focus navigation to stay inside fragment B? Or, instead:
How can I set focusable
to false for the all of the child views in fragment A?
thanks!