I want to shift my cursor from one edit text to another which are placed vertically.
But i want it to shift on a button click i.e., when i click on the button it should directly move onto the next edit text and even it should perform the desired task.
I am making use of "holder" to hold the data present in the list. any suggestions...????
code is:
holder.txtSrc = (EditText) convertView .findViewById(R.id.txt_src_word);
holder.btnTranslate .setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// translate text
txtSrc.requestFocus();
Button bt = (Button) v;
pos = (Integer) bt.getTag();
translate(); } });
}
}