reqopest.blogg.se

Drawable gradle android studio
Drawable gradle android studio







drawable gradle android studio

For example, using VectorDrawableCompat from AndroidX enables: This obviously increases the range of platforms you can use them on but more than this, it enables backporting of features and bug fixes to older platforms too. AndroidX Firstįrom Lollipop onward, you can use VectorDrawables anywhere you would use other drawable types (referring to them using the standard syntax) but I would instead recommend to always use the AndroidX implementation. This post will outline advice for actually using VectorDrawables in your apps.

drawable gradle android studio

VectorDrawable was introduced in Lollipop (API 21) and is also available in AndroidX (as VectorDrawableCompat) bringing support all the way back to API 14 (over 99% of devices). In this post we’ll dive into how to use them in your apps.









Drawable gradle android studio