currently I'm doing this to get the focus of the last item in a listview after clicking on an edit text:
bodyText.setOnFocusChangeListener(new OnFocusChangeListener() {
public void onFocusChange(View v, boolean hasFocus) {
getListView().setSelection(getListView().getCount());
}
});
bodyText.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
getListView().setSelection(getListView().getCount());
}
});
It works great and grabs the last item, problem is the soft keypad appears and covers the last 3 items in the listview. Is there a way to show the last item AFTER the soft keypad appears and resizes the screen? Thanks!