Skip to main content

Posts

How to create android vector drawable from a PSD file

Hi, today i want to show you, how can we create vector drawables using Photoshop and Vector Asset Studio .as you know Using vector drawables can produce a smaller APK, but the initial loading of vector drawables can take longer. before starting this article we shod to notice some notes: The initial loading of a vector drawable can cost more CPU cycles than the corresponding raster image. Afterward, memory use and performance are similar between the two. We recommend that you limit a vector image to a maximum of 200 x 200 dp; otherwise, it can take too long to draw Although vector drawables do support one or more colors, in many cases it makes sense to color icons black (android:fillColor="#FF000000"). Using this approach, you can add a tint to the vector drawable that you placed in a layout, and the icon color changes to the tint color. If the icon color isn't black, the icon color might instead blend with the tint color. now, lets start. open Photoshop an...
Recent posts

Become an android developer

Hi everybody this is my first post in blogger and also in my blog 😉 after 12 years of coding and programming with different languages in different environments, i decide to share my experience with others, so i made a blog and now i want to do this. But, this blog will contains only Java and Android tips and tricks, and related technologies. And i apologize for my weak English, Good luck