Skip to content

Commit

Permalink
Add TV banner
Browse files Browse the repository at this point in the history
  • Loading branch information
MuntashirAkon committed Feb 2, 2021
1 parent 60849e1 commit 1bea791
Show file tree
Hide file tree
Showing 7 changed files with 579 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
package="io.github.muntashirakon.AppManager"
android:installLocation="auto">

<uses-feature
android:name="android.software.leanback"
android:required="false" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.DUMP"
tools:ignore="ProtectedPermissions" />
Expand Down Expand Up @@ -50,6 +57,7 @@
<application
android:name=".AppManager"
android:allowBackup="false"
android:banner="@mipmap/ic_banner"
android:extractNativeLibs="true"
android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher"
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_banner_background"/>
<foreground android:drawable="@mipmap/ic_banner_foreground"/>
</adaptive-icon>
Binary file added app/src/main/res/mipmap-xhdpi/ic_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/src/main/res/values/ic_banner_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_banner_background">#DCAF74</color>
</resources>
290 changes: 290 additions & 0 deletions arts/banner-raw-no-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 272 additions & 0 deletions arts/banner-raw-text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bea791

Please sign in to comment.