mudlej / mj_pdf

GNU General Public License v3.0
140 stars 3 forks source link

Themed/monochrome icon #4

Open ghost opened 1 year ago

ghost commented 1 year ago

Not a huge issue but I wanted to mention that one could add a themed icon to the app. Themed icons are a Android 13 feature which allows the user to use the wallpaper colors for an app icon.

All you need is a MJ PDF icon without a background. Than you just need to add the monochrome icon and one line (f.e. if the monochrome icon file is a vector drawable called ic_launcher_monochrome.xml) to mipmap-anydpi-v26/ic_launcher.xml and mipmap-anydpi-v26/ic_launcher_round.xml:

<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>

Currently it looks like this when a user enables themed icons on Android 13. With a monochrome icon MJ PDF would fit in better. Screenshot_20230424-222919_Trebuchet

mudlej commented 1 year ago

I will try using it this in the next release.

mudlej commented 1 year ago

Done in !7

mudlej commented 1 year ago

Disabled in !8 due to insane issues.