Установите размер вида Android
someView.setLayoutParams(new LayoutParams(width, height));
Helpless Herring
someView.setLayoutParams(new LayoutParams(width, height));