super.onCreate(savedInstanceState);
mRootView = new LinearLayout(this);
((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL);
for (int i=0; i<NUM_EDIT_TEXTS; i++)
{
final EditText editText = new EditText(this);
editText.setText(String.valueOf(i));
editText.setId(i);
((LinearLayout) mRootView).addView(editText);
}
setContentView(mRootView);
this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);