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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -