简体   繁体   中英

How can I allow a remote to move focus from keyboard to button on the screen?

I have an android TV app that is accepting a password and outside of the keyboard I have a button that will show the password. I can't move from the keyboard to the show password button without physically backing out of the editText, is it possible to make it so the keyboard can always be shown and I can move directly from keyboard to the button for focus?

What you needed is to create TV navigation it will help you understand the minimum requirements for creating effective TV app navigation scheme and how to apply those requirements to your app, see also Provide clear focus and selection .

Additional reference: Android User Interface Design: The Basics of Control Focus Order and this SO post

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM