Browse Source

Add leanback support with dummy banner.

pull/378/head
Koro 8 years ago
parent
commit
ff956dac71
  1. 6
      app/src/main/AndroidManifest.xml
  2. BIN
      app/src/main/res/drawable-xhdpi/banner.png

6
app/src/main/AndroidManifest.xml

@ -39,10 +39,15 @@
android:name="android.hardware.touchscreen" android:name="android.hardware.touchscreen"
android:required="false" /> android:required="false" />
<uses-feature
android:name="android.software.leanback"
android:required="false" />
<application <application
android:allowBackup="true" android:allowBackup="true"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher" android:icon="@drawable/ic_launcher"
android:banner="@drawable/banner"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/Theme.AppCompat" > android:theme="@style/Theme.AppCompat" >
@ -58,6 +63,7 @@
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.SEARCH" /> <action android:name="android.intent.action.SEARCH" />

BIN
app/src/main/res/drawable-xhdpi/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B

Loading…
Cancel
Save