@Override @SimpleProperty() public void Height(int height) { if (height == LENGTH_PREFERRED) { height = LENGTH_FILL_PARENT; } super.Height(height); }