Skip to content

Commit e61a6fe

Browse files
thromerjulian-klode
authored andcommitted
Show app on Android TV home screen.
1 parent b4e7aac commit e61a6fe

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,18 @@
88
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
99
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
1010

11+
<uses-feature
12+
android:name="android.hardware.touchscreen"
13+
android:required="false" />
14+
<uses-feature
15+
android:name="android.software.leanback"
16+
android:required="false" />
17+
1118
<application
1219
android:allowBackup="true"
1320
android:icon="@mipmap/ic_launcher"
1421
android:roundIcon="@mipmap/ic_launcher"
22+
android:banner="@drawable/banner"
1523
android:label="@string/app_name"
1624
android:supportsRtl="true"
1725
android:theme="@style/AppTheme">
@@ -24,6 +32,7 @@
2432
<action android:name="android.intent.action.MAIN" />
2533

2634
<category android:name="android.intent.category.LAUNCHER" />
35+
<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>
2736
</intent-filter>
2837
</activity>
2938

app/src/main/res/drawable/banner.png

6.66 KB
Loading

0 commit comments

Comments
 (0)