Prefer Linear Layout or Relative Layout in android -


i writing application number of activities. how determine whether activity needs linear layout or relative layout?

its preferred use relative layout if have got lot of nesting in application because xml exploded in source code , performance issues arise if have got lot of nested linear layouts. if application has minimal design , less nesting can go linear layout.


Comments