Created
October 12, 2016 16:31
-
-
Save fnk0/11b7961677d4872d9d088cf43ee5ee91 to your computer and use it in GitHub Desktop.
Add this to the manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this to the activity tag --> | |
<activity | |
android:name=".ui.main.MainActivity" | |
android:banner="@drawable/banner" | |
android:icon="@drawable/banner" | |
android:label="@string/app_name" | |
android:logo="@drawable/banner" | |
android:screenOrientation="landscape"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this INSIDE the application tag --> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN"/> | |
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/> | |
</intent-filter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add this inside the manifest tag and outside the application tag --> | |
<uses-permission android:name="android.permission.INTERNET"/> | |
<uses-permission android:name="android.permission.RECORD_AUDIO"/> | |
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | |
<uses-feature | |
android:name="android.hardware.touchscreen" | |
android:required="false"/> | |
<uses-feature | |
android:name="android.software.leanback" | |
android:required="true"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment