Skip to content

Commit

Permalink
Fix launcher icon size
Browse files Browse the repository at this point in the history
Fixes #589
  • Loading branch information
moneytoo committed Jun 2, 2024
1 parent 0e1c278 commit 455e7de
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
applicationId "com.brouken.player"
minSdkVersion 21
targetSdkVersion 34
versionCode 160
versionCode 161
versionName "0.${versionCode}"
archivesBaseName = "Just.Player.v${versionName}"
}
Expand Down
17 changes: 17 additions & 0 deletions app/src/main/res/drawable/ic_launcher_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="#FFFFFF">
<group android:scaleX="0.493"
android:scaleY="0.493"
android:translateX="6.084"
android:translateY="6.084">
<path
android:fillColor="@android:color/white"
android:pathData="M8,5v14l11,-7z"/>
</group>
</vector>

10 changes: 0 additions & 10 deletions app/src/main/res/drawable/ic_play_arrow_48dp.xml

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_play_arrow_48dp" />
<monochrome android:drawable="@drawable/ic_play_arrow_48dp" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

0 comments on commit 455e7de

Please sign in to comment.