mistamek/Android-drawable-preview-plugin

Previews are really small

percula opened this issue · 8 comments

The previews are very small, see screenshot:

image

In the screenshot, they are all xml files but pngs and jpgs are the same size too.

Hi, can you provide additional information? Which os you using, which version of Android studio?

Hi @mistamek, thanks for this great plugin. I'm using Android Studio 3.2.1 on Mac OS 10.13.6.

Ok, thank you for information, I try to fix this.

Drawable files icon size is perfect on Windows but is very small on Mac.

Yeah, it happens because of Retina. But unfortunately I don’t know when I can fix it due to the lack of free time and the device for testing. Sorry for this. But you can try to change the value for the size of the icon in Constanst.kt or tweak RetinaImageIcon.kt

Update progress information. Found a way to fix it, in the near future I will make a release.

I increased the size of icons for Retina devices, now the icons will not be so small. Also in Settings - Appeareance and Behavior - Android drawable preview now you can set the size of the icon. The update will be available for download in a few days.

Just got the update and it works beautifully. Thank you!