Implement multi-form-factor presentation separation & compile-time layout contracts#32
Implement multi-form-factor presentation separation & compile-time layout contracts#32pflammertsma wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces adaptive layout support for Android TV across the App Functions Agent application. It refactors key screens (Agent Demo, Connected Apps, Debugging, and Settings) into interface contracts with separate Mobile and TV implementations, adds TV-specific components like TvSurfaceTextField, and updates the main navigation to adapt to the TV form factor. The review feedback focuses on improving the Android TV D-pad navigation experience, specifically addressing focus loss when exiting editing mode or closing dropdowns, resolving nested focus issues with switches, and ensuring card highlights persist when child inputs are focused.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
…ime layout contracts - Add FormFactor enum capability resolver supporting TV, Mobile, Wear, Auto, and XR. - Modularize screen presentation into isolated mobile/ and tv/ packages. - Implement compile-time layout contracts (DebuggingScreenLayout, AgentDemoScreenLayout, SettingsScreenLayout, ConnectedAppsScreenLayout). - Add D-Pad focus handling, stationary dialog container, and widescreen side-by-side layout for TV. - Update vector assets and Leanback banner launcher metadata. TAG=agy CONV=2bd6b504-08a0-463f-9439-1c30216f4e02
eebb288 to
d0bc8df
Compare
What I have done and why