A
A
Alexander Sinitsyn2016-10-29 12:36:53
Android
Alexander Sinitsyn, 2016-10-29 12:36:53

How to properly use resources from assets?

Would it be correct to place images from the maximum size in assets, and when accessing them, form images using the device dimensions, save them in the cache and use them from there on subsequent launches?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-10-29
@Rou1997

Not really, as it is often redundant.
If assets, then these are not resources!

I
illuzor, 2016-10-29
@iLLuzor

It is possible to store several sizes of each image in drawable. The right one will be automatically selected depending on the size of the display.
It 's well described in the documentation .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question