Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Permite la navegación con un control remoto.
This Compose file below is part of a screen in an Android TV app.
Implement navigation using the D-pad or remote control.
Ensure that focus moves correctly between composables and that the currently focused element is visually highlighted.
Handle both directional navigation and selection events.
$CURRENT_FILE
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-08-08 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-08-08 (UTC)"],[],[],null,["# Optimize for controller input\n\nSupport navigation using a remote.\n\n*** ** * ** ***\n\n This Compose file below is part of a screen in an Android TV app.\n Implement navigation using the D-pad or remote control.\n Ensure that focus moves correctly between composables and that the currently focused element is visually highlighted.\n Handle both directional navigation and selection events.\n\n $CURRENT_FILE\n\n| To run this prompt in Android Studio, click **Gemini** in the sidebar and paste it in the chat field. \n| To save and retrieve prompts in the Studio IDE, go to **Settings \\\u003e Gemini \\\u003e Prompt Library**.\n\n*** ** * ** ***"]]