Ustaw rozmiar widoku Android

someView.setLayoutParams(new LayoutParams(width, height));
Helpless Herring