“Android Asset Studio” adds extra space when I upload my .png icons, but doesn't when it uses its internal cliparts. Why?

后端 未结 3 682
遥遥无期
遥遥无期 2021-01-30 17:32

I\'m trying to create some nice icons for some Android APP I\'m dealing with, and someone directed me to the \"Android Asset Studio\", that nice online tool which creates full p

3条回答
  •  無奈伤痛
    2021-01-30 18:23

    For those like me who hates having a smaller than the others ;-) I made a small modification to one of the Android Studio plugin jar file.

    1. Download sdk-tools.jar depending on your Android studio version from here : download link
    2. Close Android Studio if it's running
    3. Go to /plugins/android/lib
    4. Very important : Make sure to make a copy in another folder of your original sdk-tools.jar. If not, you won't be able to update Android Studio because of the jar modification.
    5. Copy the downloaded sdk-tools.jar file to /plugins/android/lib
    6. Restart Android Studio and enjoy

    Here is the result :

    No Shape - Before

    No Shape - After

    Square - Before

    Square - After

提交回复
热议问题