Is it possible to give focus to a button when the activity starts, while a listView is there on the layout in Android? I tried the following code, but didn't work for me.
button1.requestFocus();
Further I tried
listview.clearFocus();
button1.requestFocus();
Still didn't work.. Can anyone see anything that I am doing wrong or is there a proper way to do it?