A
A
artshelom2018-10-20 12:43:03
Android
artshelom, 2018-10-20 12:43:03

I put a big picture on the background of the application, the application starts to slow down?

I add a picture to the window (1242x2208 and 62.84kb), the application immediately starts to slow down, if the picture is changed to a smaller one, everything works fine.
What could be causing this and how can I fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Kovalev, 2018-10-21
@DenKov

Try to save the image in different resolutions and put drawable-ldpi, -hdpi, -xhdpi, etc. in different folders. How the device will not waste resources on scaling

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question