android - Does using a lot of nested layouts make the app slower? -


this question has answer here:

i working on big application , , have use lot of nested layouts linearlayout . times android studio warn me using lot of (weight) attribute , wondering , using lot of nested layouts make application slower ?

i yes, in older devices limited hardware capabilities. take instance at:

https://developer.android.com/training/improving-layouts/optimizing-layout.html

simpler layouts means less work in ui thread in order draw therefore app faster , more responsive.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo