Android SplashScreen theme uses a lot of memory -


my app used lot of memory right after launch of activity.

first had theme place image in splashscreen, because wanted debug, placed in code. after research android device monitor , few debug tests found line cause huge memory usage of 25 mb.

window.setbackgrounddrawableresource (resource.drawable.splash); 

the jpeg of splashscreen 16 kb. know why way of loading image uses memory , how can reduce it?

comment: i'm working in xamarin android should irrelevant question.

i've done splash-screens or, call it, branded launch screen in past , didn't have memory issues. check this tutorial posted in medium ago. @ end of you'll find link github example project.

hope helps solving problem.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -