i want the text value set on multiple edittext, onclick of button .Edit text is generated dynamically and i want value of each particular edit text.and store that value of text in a string array. here is the code.
if (type.equalsIgnoreCase("Edittext")) {
Question = cursor1.getString(cursor1
.getColumnIndex(AndroidOpenDbHelper.QUESTIONS));
String ID = cursor1.getString(cursor1
.getColumnIndex(AndroidOpenDbHelper.ID));
// ll_layout1 = (LinearLayout)
// findViewById(R.id.linearlayout1);
tv_edittext = new TextView(this);
tv_edittext.setTextSize(20.0f);
tv_edittext.setText(Question);
ll_layout1.addView(tv_edittext);
et = new EditText(this);
et.setOnClickListener(this);
et.setId(EDITTEXT);
et.setMinLines(1);
et.setMaxLines(3);
// editTextList.add(et);
ll_layout1.addView(et);
// editTextList.add(et);
typelist.add(Question);
}
this code generate Text and edittext how to start ...? thanks in advanced.