refactored and optimised, also added some branding

This commit is contained in:
2026-03-23 22:08:22 +01:00
parent b0af937592
commit 9c4197cf85
14 changed files with 76 additions and 2 deletions

View File

@@ -13,8 +13,8 @@
<application
android:allowBackup="true"
android:banner="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:banner="@mipmap/ic_banner"
android:icon="@mipmap/ic_channel"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.TV"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -0,0 +1,32 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="320dp"
android:height="180dp"
android:viewportWidth="576"
android:viewportHeight="512"
android:autoMirrored="true">
<group android:scaleX="0.6666667"
android:scaleY="0.6666667"
android:translateX="96"
android:translateY="85.333336">
<group android:scaleX="0.3"
android:scaleY="0.5"
android:translateX="80"
android:translateY="130">
<path android:fillColor="#FF5722" android:pathData="M64,96l0,240 448,0 0,-240 -448,0zM0,96C0,60.7 28.7,32 64,32l448,0c35.3,0 64,28.7 64,64l0,240c0,35.3 -28.7,64 -64,64L64,400c-35.3,0 -64,-28.7 -64,-64L0,96zM160,448l256,0c17.7,0 32,14.3 32,32s-14.3,32 -32,32l-256,0c-17.7,0 -32,-14.3 -32,-32s14.3,-32 32,-32z"/>
</group>
<group android:scaleX="1.25"
android:scaleY="2"
android:translateX="270"
android:translateY="130">
<group android:translateY="118.80004">
<path android:pathData="M97.34375,-49.390625Q94.46875,-52.5625,93.375,-55.15625Q92.296875,-57.75,92.453125,-59.90625Q92.453125,-60.484375,92.65625,-61.5625Q92.875,-62.640625,93.09375,-63.9375Q93.3125,-65.234375,93.59375,-66.375Q93.890625,-67.53125,93.890625,-68.25Q93.890625,-69.546875,92.296875,-69.703125L60.1875,-66.671875L61.921875,-88.84375Q62.0625,-90.71875,61.5625,-92.15625Q61.0625,-93.59375,59.46875,-94.75L37.15625,-90.578125Q39.75,-89.421875,40.46875,-86.03125Q41.1875,-82.65625,41.1875,-79.0625L40.171875,-64.9375L8.203125,-62.203125Q6.625,-61.921875,6.625,-60.765625Q6.625,-60.1875,6.84375,-59.25Q7.0625,-58.3125,7.265625,-57.296875Q7.484375,-56.296875,7.703125,-55.359375Q7.921875,-54.4375,7.921875,-54Q7.921875,-51.984375,6.84375,-49.609375Q5.765625,-47.234375,3.3125,-43.921875Q6.34375,-41.765625,10.375,-41.46875Q13.390625,-41.46875,16.34375,-42.90625Q19.296875,-44.359375,21.734375,-46.9375Q24.1875,-49.53125,25.90625,-53.203125Q27.640625,-56.875,28.21875,-61.203125L39.75,-62.0625L35.140625,-14.546875Q35.140625,-8.78125,36.578125,-5.390625Q38.015625,-2.015625,40.75,-0L65.953125,-4.03125Q67.25,0.578125,69.984375,2.296875Q72.71875,4.03125,77.765625,4.03125Q80.5,4.03125,84.375,3.453125Q88.265625,2.875,93.171875,1.4375Q90.4375,-1.4375,88.703125,-6.046875Q86.96875,-10.65625,86.96875,-14.546875Q86.96875,-17.140625,87.984375,-18.859375Q86.25,-19.578125,82.65625,-19.578125Q79.203125,-19.4375,76.03125,-18.71875Q72.859375,-18,70.546875,-16.484375Q68.25,-14.96875,66.875,-12.515625Q65.515625,-10.078125,65.515625,-6.625L59.46875,-5.609375Q58.3125,-5.609375,57.671875,-6.609375Q57.03125,-7.625,56.734375,-9Q56.453125,-10.375,56.375,-12.03125Q56.296875,-13.6875,56.296875,-14.96875L60.046875,-63.796875L70.703125,-64.9375Q71.859375,-57.59375,76.3125,-52.40625Q80.78125,-47.234375,87.265625,-46.9375Q92.015625,-46.9375,97.34375,-49.390625Z"
android:fillColor="#FF5732"/>
<path android:pathData="M209.71875,0.578125Q206.98438,-2.296875,205.32812,-6.90625Q203.67188,-11.515625,203.67188,-15.40625Q203.67188,-18.4375,204.53125,-19.734375Q203.23438,-20.59375,199.20312,-20.59375Q195.75,-20.453125,192.57812,-19.734375Q189.42188,-19.015625,187.10938,-17.5Q184.8125,-15.984375,183.4375,-13.53125Q182.07812,-11.09375,182.07812,-7.625L175.59375,-6.34375Q174.29688,-6.046875,173.5,-6.984375Q172.71875,-7.921875,172.42188,-9.421875Q172.14062,-10.9375,172.0625,-12.875Q171.98438,-14.828125,171.98438,-16.703125L173,-56.453125Q173.28125,-64.375,171.70312,-69.40625Q170.125,-74.453125,167.09375,-77.328125Q164.07812,-80.203125,159.67188,-81.28125Q155.28125,-82.375,149.8125,-82.375Q139.59375,-82.375,131.8125,-80.640625Q124.046875,-78.90625,118.78125,-74.796875Q113.53125,-70.703125,110.859375,-63.78125Q108.203125,-56.875,108.0625,-46.515625L107.625,-10.078125Q107.625,-5.90625,108.921875,-3.234375Q110.21875,-0.578125,113.53125,0L135.42188,-3.03125Q131.67188,-4.890625,130.79688,-8.203125Q129.9375,-11.515625,129.9375,-15.984375L129.9375,-53.5625Q129.9375,-58.890625,130.57812,-63.71875Q131.23438,-68.546875,132.67188,-72.0625Q134.125,-75.59375,136.28125,-77.6875Q138.4375,-79.78125,141.3125,-79.78125Q147.375,-79.78125,149.45312,-76.46875Q151.54688,-73.15625,151.40625,-64.375L149.95312,-10.21875Q150.10938,-6.90625,151.1875,-4.3125Q152.26562,-1.734375,156.01562,-0.140625L182.5,-5.046875Q183.79688,-0.4375,186.53125,1.359375Q189.26562,3.171875,194.3125,3.171875Q199.92188,3.171875,209.71875,0.578125ZM183.65625,-82.9375Q181.5,-85.6875,180.34375,-88.84375Q179.1875,-92.015625,179.34375,-95.90625Q179.34375,-98.359375,179.84375,-100.296875Q180.34375,-102.234375,181.5,-103.828125Q176.03125,-104.109375,172.35938,-103.96875Q168.6875,-103.828125,166.375,-102.8125Q164.07812,-101.8125,162.98438,-99.796875Q161.90625,-97.78125,161.76562,-94.46875L129.07812,-93.453125Q128.64062,-97.921875,127.203125,-100.078125Q125.765625,-102.234375,123.03125,-102.875Q120.296875,-103.53125,116.1875,-103.09375Q112.09375,-102.671875,106.609375,-102.09375Q108.625,-100.21875,109.84375,-98.5625Q111.078125,-96.90625,110.9375,-94.03125Q110.640625,-90.71875,109.5625,-87.1875Q108.484375,-83.65625,105.609375,-81.640625Q109.78125,-81.359375,114.390625,-81.359375Q119,-81.359375,122.171875,-82.515625Q124.765625,-83.375,126.625,-85.671875Q128.5,-87.984375,128.79688,-90.859375L162.0625,-91.734375Q162.78125,-86.546875,165.875,-84.375Q168.96875,-82.21875,173.85938,-81.9375Q175.73438,-81.640625,178.82812,-82.21875Q181.92188,-82.796875,183.65625,-82.9375Z"
android:fillColor="#FF5732"/>
</group>
</group>
</group>
</vector>

View File

@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="120dp"
android:height="120dp"
android:viewportWidth="576"
android:viewportHeight="512"
android:autoMirrored="true">
<group android:scaleX="0.47"
android:scaleY="0.41777778"
android:translateX="152.64"
android:translateY="149.04889">>
<path android:fillColor="#FF5722" android:pathData="M64,96l0,240 448,0 0,-240 -448,0zM0,96C0,60.7 28.7,32 64,32l448,0c35.3,0 64,28.7 64,64l0,240c0,35.3 -28.7,64 -64,64L64,400c-35.3,0 -64,-28.7 -64,-64L0,96zM160,448l256,0c17.7,0 32,14.3 32,32s-14.3,32 -32,32l-256,0c-17.7,0 -32,-14.3 -32,-32s14.3,-32 32,-32z"/>
</group>
</vector>

View File

@@ -0,0 +1,5 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="512dp" android:viewportHeight="512" android:viewportWidth="576" android:width="576dp">
<path android:fillColor="#FF5722" android:pathData="M64,96l0,240 448,0 0,-240 -448,0zM0,96C0,60.7 28.7,32 64,32l448,0c35.3,0 64,28.7 64,64l0,240c0,35.3 -28.7,64 -64,64L64,400c-35.3,0 -64,-28.7 -64,-64L0,96zM160,448l256,0c17.7,0 32,14.3 32,32s-14.3,32 -32,32l-256,0c-17.7,0 -32,-14.3 -32,-32s14.3,-32 32,-32z"/>
</vector>

View 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>

View 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_channel_background"/>
<foreground android:drawable="@drawable/ic_channel_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_banner_background">#343434</color>
</resources>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_channel_background">#343434</color>
</resources>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="icon_background">#343434</color>
</resources>