PieLauncher
PieLauncher copied to clipboard
Can You Make Custom Icon Pack?
Can you make a custom icons for the Pie Launcher? I hope you see this and make update a soon as posible i like the launcher!
Yes, I plan to add that. However, I don't have a lot of time right now, so it will probably take a little while. Sorry.
Oh OK I will wait for it
On Tue, May 3, 2022, 23:00 Markus Fisch @.***> wrote:
Yes, I plan to add that. However, I don't have a lot of time right now, so it will probably take a little while. Sorry.
— Reply to this email directly, view it on GitHub https://github.com/markusfisch/PieLauncher/issues/35#issuecomment-1116265901, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY7VJX6U22HRHBCI4BYBYZTVIFERRANCNFSM5U52D7YQ . You are receiving this because you authored the thread.Message ID: @.***>
I would like to try to implement this but don't know where to start. I'm not experienced in android development but know java. Could you explain, where to start?
I would like to try to implement this but don't know where to start. I'm not experienced in android development but know java. Any tips?
@gbucar Well, you may want to start by searching how to load an icon from an icon pack on Android. There are many other open source launchers that can do this on GitHub. Just search for "github android home screeen launcher support icon pack" or something like that. Then, you could try the search on GitHub to find files with the string "icon pack" or "IconPack". This should give you an idea of how others do it.
In Pie Launcher, there are two places where an icon is loaded, depending on the Android version it's running on. The first one is here, for older Androids: https://github.com/markusfisch/PieLauncher/blob/master/app/src/main/java/de/markusfisch/android/pielauncher/content/AppMenu.java#L278
And this is executed for newer Android versions (Lollipop or better): https://github.com/markusfisch/PieLauncher/blob/master/app/src/main/java/de/markusfisch/android/pielauncher/content/AppMenu.java#L315
Still wait support icon pack or force all app have same shape icon
Implemented in version 1.18.0.