@Override public void setChildWidth(AndroidViewComponent component, int width) { if (orientation == ComponentConstants.LAYOUT_ORIENTATION_HORIZONTAL) { ViewUtil.setChildWidthForHorizontalLayout(component.getView(), width); } else { ViewUtil.setChildWidthForVerticalLayout(component.getView(), width); } }
@Override public void setChildWidth(AndroidViewComponent component, int width) { // A form is a vertical layout. ViewUtil.setChildWidthForVerticalLayout(component.getView(), width); }