public LayoutParams(Context c, AttributeSet attrs) { super(c, attrs); this.mPercentLayoutInfo = ScaleLayoutHelper.getScaleLayoutInfo(c, attrs); }
@Override protected void setBaseAttributes(TypedArray a, int widthAttr, int heightAttr) { ScaleLayoutHelper.fetchWidthAndHeight(this, a, widthAttr, heightAttr); }
public ScaleFrameLayout(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); mHelper = ScaleLayoutHelper.create(this, attrs); }