() + '}'; } } @@ -747,12 +840,12 @@ public void fillLayoutParams(ViewGroup.LayoutParams params, int widthHint, if (widthPercent != null) { - int base = widthPercent.isBaseWidth ? widthHint : heightHint; + int base = getBaseByModeAndVal(widthHint, heightHint, widthPerce...