Android PercentFrameLayout PercentRelativeLayout Example

LinearLayout has layout_weight property that can be used to specify the width percentage that a component can occupy. But FrameLayout and RelativeLayout do not support such property.