Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Permettre la navigation à l'aide d'une télécommande.
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
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/08/08 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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*** ** * ** ***"]]