Background image -> slow android


#1

Hi, is there some approach how to use background images? On my Android phone it’s really laggy. Sometimes app crashes.
For other images I am using WebImage plugin. But it’s not working on background images.

Thank you


#2

Are you loading your background image from density specific folders? If not, it is possible that the system takes too much to resize it at run time.


#3

I am loading it by CSS (background-image)


#4

I’m talking about the source of image, where exactly it placed not the way how it’s assigned.


#5

In app folder /assets/ I am loading it by background-image: url("~/assets/bg/bg_blur.png");