import android.view.*; static LinearLayout aWestAndCenter(View w, View c) { c.setLayoutParams(new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); ret aHorizontalLinearLayout(w, c); }