import android.app.*; import android.widget.*; import android.view.*; import android.view.KeyEvent; import android.view.inputmethod.*; import android.text.*; static LinearLayout aCenterAndSouth(View c, View s) { LinearLayout ll = new LinearLayout(androidActivity()); ll.setOrientation(ll.VERTICAL); c.setLayoutParams(new LinearLayout.LayoutParams( LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); ll.addView(c); ll.addView(s); ret ll; }