mirror of
https://github.com/mediathekview/zapp.git
synced 2024-09-20 12:22:15 +02:00
Add tv banner
This commit is contained in:
parent
c899e9771a
commit
a3f3e37b0c
@ -19,6 +19,7 @@
|
||||
<application
|
||||
android:name=".app.ZappApplication"
|
||||
android:allowBackup="false"
|
||||
android:banner="@mipmap/ic_banner"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:resizeableActivity="true"
|
||||
@ -35,12 +36,11 @@
|
||||
android:name="android.content.MEDIA_CAPABILITIES"
|
||||
android:resource="@xml/media_capabilities" />
|
||||
|
||||
<!-- TODO: add banner -->
|
||||
<activity
|
||||
android:theme="@style/LeanbackAppTheme"
|
||||
android:name=".tv.main.MainActivity"
|
||||
android:exported="true"
|
||||
android:screenOrientation="landscape">
|
||||
android:screenOrientation="landscape"
|
||||
android:theme="@style/LeanbackAppTheme">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
@ -49,23 +49,23 @@
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:theme="@style/LeanbackAppTheme"
|
||||
android:name=".tv.player.PlayerActivity"
|
||||
android:screenOrientation="landscape" />
|
||||
|
||||
<activity
|
||||
android:theme="@style/LeanbackAppTheme"
|
||||
android:name=".tv.error.ErrorActivity"
|
||||
android:screenOrientation="landscape" />
|
||||
|
||||
<activity
|
||||
android:theme="@style/LeanbackAppTheme"
|
||||
android:name=".tv.error.CrashActivity"
|
||||
android:screenOrientation="landscape"
|
||||
android:process=":acra"
|
||||
android:theme="@style/LeanbackAppTheme" />
|
||||
|
||||
<activity
|
||||
android:name=".tv.error.ErrorActivity"
|
||||
android:screenOrientation="landscape"
|
||||
android:theme="@style/LeanbackAppTheme" />
|
||||
|
||||
<activity
|
||||
android:name=".tv.error.CrashActivity"
|
||||
android:excludeFromRecents="true"
|
||||
android:finishOnTaskLaunch="true"
|
||||
android:launchMode="singleInstance" />
|
||||
android:launchMode="singleInstance"
|
||||
android:process=":acra"
|
||||
android:screenOrientation="landscape"
|
||||
android:theme="@style/LeanbackAppTheme" />
|
||||
|
||||
<activity
|
||||
android:name=".app.about.ui.ChangelogActivity"
|
||||
|
20
app/src/main/res/drawable/ic_banner_foreground.xml
Normal file
20
app/src/main/res/drawable/ic_banner_foreground.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="320dp"
|
||||
android:height="180dp"
|
||||
android:viewportWidth="320"
|
||||
android:viewportHeight="180">
|
||||
<group android:scaleX="0.6666667"
|
||||
android:scaleY="0.6666667"
|
||||
android:translateX="53.333332"
|
||||
android:translateY="30">
|
||||
<group android:scaleX="0.91125"
|
||||
android:scaleY="0.91125"
|
||||
android:translateX="87.1"
|
||||
android:translateY="17.1">>
|
||||
<path android:pathData="M35.5 143.83l9.5-24m84.5 18l-18.5-27" android:strokeWidth="16" android:strokeColor="#FFFFFF" android:strokeLineCap="round"/>
|
||||
<path android:pathData="M129.57 96.68c0.63 6.6-4.22 12.45-10.81 13.08l-81.08 8.82c-6.6 0.63-12.45-4.22-13.08-10.81l-4.67-45.28c-0.63-6.6 4.22-12.45 10.81-13.08l81.08-8.82c6.6-0.63 12.45 4.22 13.08 10.81l4.67 45.28z" android:strokeWidth="18" android:strokeColor="#FFFFFF" android:strokeLineCap="round"/>
|
||||
<path android:pathData="M61 44.33l-17.5-29.5m27.5 26l7.5-26.5" android:strokeWidth="7" android:strokeColor="#FFFFFF" android:strokeLineCap="round"/>
|
||||
<path android:fillColor="#FFFFFF" android:pathData="M36 15.58a7.75 7.75 0 1 1 15.5 0 7.75 7.75 0 1 1-15.5 0m34 0.5a7.75 7.75 0 1 1 15.5 0 7.75 7.75 0 1 1-15.5 0"/>
|
||||
</group>
|
||||
</group>
|
||||
</vector>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Normal file
5
app/src/main/res/mipmap-anydpi-v26/ic_banner.xml
Normal file
@ -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="@drawable/ic_banner_foreground"/>
|
||||
</adaptive-icon>
|
BIN
app/src/main/res/mipmap-xhdpi/ic_banner.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/ic_banner.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
4
app/src/main/res/values/ic_banner_background.xml
Normal file
4
app/src/main/res/values/ic_banner_background.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="ic_banner_background">#E1007A</color>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user