Make layout a bit bigger and avoid so many hardcoded dimensions

By using TableLayout and layout_weight.