androidperformanceandroid-support-libraryandroid-percentrelativelayout

PercentRelativeLayout is more Performant?


I always use LinearLayout and RelativeLayouts, and i was reading about the "new" PercentRelativeLayout. I have a few questions:

Any other information about PercentRelativeLayout it will be welcome.

Thanks!


Solution

  • Looking at the source code, a PercentRelativeLayout is basically a minor extension of a RelativeLayout. This means you need to make the same considerations as when you choose between a RelativeLayout and LinearLayout.

    Finally it is worth noting that: