When I'm creating drawables some of them goes to v21, v24 folder.
Why is this happening?
Will they appear in andoid api 15 (android 4)?
Do I need to do something?
Classic drawable resources such as images are stored in the drawable folder. In contrast, vector drawables are stored in drawable-v24 . For this project, keep the drawable default and click OK.
Supported file types are PNG (preferred), JPG (acceptable), and GIF (discouraged).
A drawable resource is a general concept for a graphic that can be drawn to the screen and which you can retrieve with APIs such as getDrawable(int) or apply to another XML resource with attributes such as android:drawable and android:icon . There are several different types of drawables: Bitmap File.
R. drawable. image means the drawable resource, in this case image. Drawable means graphic which can be drawn.
Those drawable folders are actually for providing device compatibility (i.e. to manage different screen densities in android) and different android versions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With