O'Reilly logo

Mastering Android Game Development by Raul Portales

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Providing a home screen banner

Android TV apps must declare a banner in the manifest. This is another requirement that does not exist for mobile apps.

The banner is used by the Leanback UI to navigate among apps and games. It has a different aspect ratio than the icon. In particular, the banner is an image of 320x180 px that we have to put under the drawable-xhdpi directory.

Providing a home screen banner

The banner is a 320x180 px image

This image is as important for TV as the icon is for mobile, it is the entry point to your game on the TV. While we—as developers—can install and run apps on a TV without providing this, there is no easy entry point to launch the app from the Leanback ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required