aboutsummaryrefslogtreecommitdiff
path: root/tools/android
diff options
context:
space:
mode:
authorJose Luis Marti <joseluis.marti@gmail.com>2024-04-23 16:26:19 +0200
committerJose Luis Marti <joseluis.marti@gmail.com>2024-04-27 16:11:40 +0200
commit842696863fd373e5e0d6d5b9f50ab7bee1b649e0 (patch)
treece37e1ecb63fc353bcea2259ed7a15299a95113f /tools/android
parenta5fb12b4637c62a47a59fcc50f2c88246e9d6fff (diff)
Rename drawable- folders to mipmap- folders
Diffstat (limited to 'tools/android')
-rw-r--r--tools/android/packaging/Makefile.in9
-rw-r--r--tools/android/packaging/media/mipmap-hdpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-hdpi/ic_launcher.png)bin5488 -> 5488 bytes
-rw-r--r--tools/android/packaging/media/mipmap-ldpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-ldpi/ic_launcher.png)bin2336 -> 2336 bytes
-rw-r--r--tools/android/packaging/media/mipmap-mdpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-mdpi/ic_launcher.png)bin3540 -> 3540 bytes
-rw-r--r--tools/android/packaging/media/mipmap-xhdpi/banner.png (renamed from tools/android/packaging/media/drawable-xhdpi/banner.png)bin12143 -> 12143 bytes
-rw-r--r--tools/android/packaging/media/mipmap-xhdpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-xhdpi/ic_launcher.png)bin7296 -> 7296 bytes
-rw-r--r--tools/android/packaging/media/mipmap-xxhdpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-xxhdpi/ic_launcher.png)bin12194 -> 12194 bytes
-rw-r--r--tools/android/packaging/media/mipmap-xxxhdpi/ic_launcher.png (renamed from tools/android/packaging/media/drawable-xxxhdpi/ic_launcher.png)bin13483 -> 13483 bytes
-rw-r--r--tools/android/packaging/xbmc/AndroidManifest.xml.in6
9 files changed, 5 insertions, 10 deletions
diff --git a/tools/android/packaging/Makefile.in b/tools/android/packaging/Makefile.in
index 98a15226a8..2501ff5522 100644
--- a/tools/android/packaging/Makefile.in
+++ b/tools/android/packaging/Makefile.in
@@ -61,15 +61,9 @@ python: | xbmc/assets
res:
mkdir -p xbmc/res xbmc/res/values images
+ cp -rfp media/mipmap-* xbmc/res/
cp -fp $(CMAKE_SOURCE_DIR)/media/applaunch_screen.png xbmc/res/drawable/
- cp -fp media/drawable-hdpi/ic_launcher.png xbmc/res/drawable-hdpi/ic_launcher.png
- cp -fp media/drawable-ldpi/ic_launcher.png xbmc/res/drawable-ldpi/ic_launcher.png
- cp -fp media/drawable-mdpi/ic_launcher.png xbmc/res/drawable-mdpi/ic_launcher.png
- cp -fp media/drawable-xhdpi/ic_launcher.png xbmc/res/drawable-xhdpi/ic_launcher.png
- cp -fp media/drawable-xxhdpi/ic_launcher.png xbmc/res/drawable-xxhdpi/ic_launcher.png
cp -fp $(CMAKE_SOURCE_DIR)/media/applaunch_screen.png xbmc/res/drawable-xxxhdpi/
- cp -fp media/drawable-xxxhdpi/ic_launcher.png xbmc/res/drawable-xxxhdpi/ic_launcher.png
- cp -fp media/drawable-xhdpi/banner.png xbmc/res/drawable-xhdpi/banner.png
cp -fp $(CMAKE_SOURCE_DIR)/media/icon80x80.png xbmc/res/drawable/ic_recommendation_80dp.png
cp xbmc/strings.xml xbmc/res/values/
cp xbmc/colors.xml xbmc/res/values/
@@ -114,6 +108,7 @@ apk-clean:
rm -rf xbmc/assets
rm -rf xbmc/obj
rm -rf xbmc/res/values
+ rm -rf xbmc/res/mipmap-*
rm -f xbmc/res/drawable/applaunch_screen.png
rm -f xbmc/res/drawable-xxxhdpi/applaunch_screen.png
rm -rf assets
diff --git a/tools/android/packaging/media/drawable-hdpi/ic_launcher.png b/tools/android/packaging/media/mipmap-hdpi/ic_launcher.png
index 2b262791af..2b262791af 100644
--- a/tools/android/packaging/media/drawable-hdpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-hdpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-ldpi/ic_launcher.png b/tools/android/packaging/media/mipmap-ldpi/ic_launcher.png
index 20b2344fbe..20b2344fbe 100644
--- a/tools/android/packaging/media/drawable-ldpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-ldpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-mdpi/ic_launcher.png b/tools/android/packaging/media/mipmap-mdpi/ic_launcher.png
index 9a9da949f3..9a9da949f3 100644
--- a/tools/android/packaging/media/drawable-mdpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-mdpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-xhdpi/banner.png b/tools/android/packaging/media/mipmap-xhdpi/banner.png
index 86a2eeb14f..86a2eeb14f 100644
--- a/tools/android/packaging/media/drawable-xhdpi/banner.png
+++ b/tools/android/packaging/media/mipmap-xhdpi/banner.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-xhdpi/ic_launcher.png b/tools/android/packaging/media/mipmap-xhdpi/ic_launcher.png
index c09dae212e..c09dae212e 100644
--- a/tools/android/packaging/media/drawable-xhdpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-xhdpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-xxhdpi/ic_launcher.png b/tools/android/packaging/media/mipmap-xxhdpi/ic_launcher.png
index 0dc4f5eaab..0dc4f5eaab 100644
--- a/tools/android/packaging/media/drawable-xxhdpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/media/drawable-xxxhdpi/ic_launcher.png b/tools/android/packaging/media/mipmap-xxxhdpi/ic_launcher.png
index 89ce21773c..89ce21773c 100644
--- a/tools/android/packaging/media/drawable-xxxhdpi/ic_launcher.png
+++ b/tools/android/packaging/media/mipmap-xxxhdpi/ic_launcher.png
Binary files differ
diff --git a/tools/android/packaging/xbmc/AndroidManifest.xml.in b/tools/android/packaging/xbmc/AndroidManifest.xml.in
index a27d2fea9e..52b28bd0dc 100644
--- a/tools/android/packaging/xbmc/AndroidManifest.xml.in
+++ b/tools/android/packaging/xbmc/AndroidManifest.xml.in
@@ -42,11 +42,11 @@
android:required="false" />
<application
- android:banner="@drawable/banner"
+ android:banner="@mipmap/banner"
android:hasCode="true"
- android:icon="@drawable/ic_launcher"
+ android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
- android:logo="@drawable/banner"
+ android:logo="@mipmap/banner"
android:requestLegacyExternalStorage="true">
<activity
android:name=".Splash"