Merge pull request #1693 from Bnyro/master

Light Appp Icon Version ft. @XelXen
This commit is contained in:
Bnyro 2022-10-29 17:56:05 +02:00 committed by GitHub
commit 656d45f0eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 66 additions and 1 deletions

View File

@ -3,6 +3,13 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto"> 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.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
@ -20,7 +27,8 @@
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/StartupTheme" android:theme="@style/StartupTheme"
tools:targetApi="n"> tools:targetApi="n"
android:banner="@mipmap/ic_launcher">
<activity <activity
android:name=".ui.activities.NoInternetActivity" android:name=".ui.activities.NoInternetActivity"
@ -81,6 +89,26 @@
</intent-filter> </intent-filter>
</activity-alias> </activity-alias>
<activity-alias
android:name=".DefaultLight"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
android:enabled="false"
android:exported="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher_light"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_light_round"
android:supportsPictureInPicture="true"
android:targetActivity=".ui.activities.MainActivity"
android:windowSoftInputMode="adjustPan">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias <activity-alias
android:name=".IconFire" android:name=".IconFire"
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -0,0 +1,20 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1280"
android:viewportHeight="1280">
<group android:scaleX="1.0388889"
android:scaleY="1.0388889"
android:translateX="-24.88889"
android:translateY="-24.88889">
<path
android:pathData="M0,0h1280v1280h-1280z"
android:fillColor="#F2EEFF"/>
<path
android:pathData="M880,639.6C880,637.1 878.6,634.7 876.4,633.4L495,410.4C488.4,406.5 480,411.3 480,419V515.2C480,518.8 481.9,522.1 485.1,523.9L675.1,631.2C681.9,635 681.9,644.8 675.1,648.6L485.1,755.9C481.9,757.7 480,761 480,764.6V860.8C480,868.5 488.4,873.3 495.1,869.4L876.4,645.9C878.6,644.6 880,642.2 880,639.6Z"
android:fillColor="#161316"/>
<path
android:pathData="M614.7,631.1C621.4,634.9 621.4,644.7 614.7,648.5L494.9,716.4C488.3,720.2 480,715.3 480,707.7V571.9C480,564.2 488.3,559.4 494.9,563.2L614.7,631.1Z"
android:fillColor="#161316"/>
</group>
</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_launcher_light_background"/>
<foreground android:drawable="@drawable/ic_launcher_light_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_launcher_light_background"/>
<foreground android:drawable="@drawable/ic_launcher_light_foreground"/>
</adaptive-icon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -214,6 +214,7 @@
<string-array name="icons"> <string-array name="icons">
<item>@string/defaultIcon</item> <item>@string/defaultIcon</item>
<item>@string/defaultIconLight</item>
<item>@string/legacyIcon</item> <item>@string/legacyIcon</item>
<item>@string/gradientIcon</item> <item>@string/gradientIcon</item>
<item>@string/fireIcon</item> <item>@string/fireIcon</item>
@ -224,6 +225,7 @@
</string-array> </string-array>
<string-array name="iconsValue"> <string-array name="iconsValue">
<item>MainActivity</item> <item>MainActivity</item>
<item>DefaultLight</item>
<item>IconLegacy</item> <item>IconLegacy</item>
<item>IconGradient</item> <item>IconGradient</item>
<item>IconFire</item> <item>IconFire</item>

View File

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

View File

@ -354,6 +354,7 @@
<string name="sb_markers_summary">Mark the segments on the time bar.</string> <string name="sb_markers_summary">Mark the segments on the time bar.</string>
<string name="livestreams">Livestreams</string> <string name="livestreams">Livestreams</string>
<string name="alternative_videos_layout">Alternative videos layout</string> <string name="alternative_videos_layout">Alternative videos layout</string>
<string name="defaultIconLight">Default light</string>
<!-- Notification channel strings --> <!-- Notification channel strings -->
<string name="download_channel_name">Download Service</string> <string name="download_channel_name">Download Service</string>