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

Reviewing the manifest

Once we have added the activity for the TV to the Leanback launcher, made sure that the Leanback and touchscreen features are requested but not required, configured the banner, and marked it as a game, we are done modifying AndroidManifest.xml.

The updated version of the manifest is as follows:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.plattysoft.yass" > <application android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:isGame="true" android:banner="@drawable/banner_small" android:theme="@style/AppTheme" > <uses-feature android:name="android.software.leanback" android:required="false" /> <uses-feature android:name="android.hardware.touchscreen" ...

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