Summary
We have our game ready for Android TV. We have updated the manifest to provide an activity to launch from the Leanback interface as well as a banner to show on the UI, and we have marked it as a game. We also reviewed the permissions to be sure that the game will be available on Google Play for Android TV, mainly marking touchscreen capability and Leanback as requested but not required.
From the code point of view, we added some extra padding to all the screens when running on the TV, to make sure the important content is never cut off because of overscan, and we tweaked the code on the dialogs to make them work nicely with controllers.
Finally we mentioned some pointers about how to improve the game further and talked briefly about game ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access