我的工作环境是Eclipse heliose,Android 1.6
我已经创建了一个tableLayout,其中列和行已成功添加,每个单元格都有一个textView和一个EditText,我在访问每个单元格时遇到问题,需要在单元格内的每个editText中添加addTextChangedListener.所以我需要将英文文本更改为指示文本.请提出解决方案
/**
* Here we are going to define the grid The Grid has 1. grid's value in the
* particular position 2.
*/
public void setGrid() {
String questionNumber[] = null;
Typeface fontface = Typeface.createFromAsset(getAssets(), "fonts/padmaa.ttf");
/*
* Table layout for the crossword elements
*/
TableLayout tableLayout = (TableLayout) findViewById(R.id.crosswordTableLayout);
tableLayout.setGravity(Gravity.TOP);
tableLayout.setBackgroundColor(Color.WHITE);
tableLayout.setScrollContainer(true);
for (int i = 0; i < sizeOfGrid; i++) {
/*
* This table row params is used to set the layout params …Run Code Online (Sandbox Code Playgroud)