Browse Source

[android] Finalize migration to updated standard

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
pull/3182/head
Caio Oliveira 4 days ago
parent
commit
5c52b75142
No known key found for this signature in database GPG Key ID: AAAE6C7FD4186B0C
  1. 3
      src/android/app/src/main/AndroidManifest.xml
  2. 6
      src/android/app/src/main/res/drawable-v26/ic_launcher.xml
  3. 5
      src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  4. 5
      src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  5. 4
      src/android/app/src/main/res/values/colors.xml

3
src/android/app/src/main/AndroidManifest.xml

@ -33,7 +33,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
<application <application
android:name="org.yuzu.yuzu_emu.YuzuApplication" android:name="org.yuzu.yuzu_emu.YuzuApplication"
android:label="@string/app_name_suffixed" android:label="@string/app_name_suffixed"
android:icon="@drawable/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="true" android:allowBackup="true"
android:hasFragileUserData="false" android:hasFragileUserData="false"
android:supportsRtl="true" android:supportsRtl="true"

6
src/android/app/src/main/res/drawable-v26/ic_launcher.xml

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_icon_bg" />
<foreground android:drawable="@drawable/ic_yuzu_icon" />
<monochrome android:drawable="@drawable/ic_yuzu_icon" />
</adaptive-icon>

5
src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@ -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_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

5
src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@ -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_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

4
src/android/app/src/main/res/values/colors.xml

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#000000</color>
</resources>
Loading…
Cancel
Save