scroll to bottom if message view is created

This commit is contained in:
Sebastian Kaspari 2010-03-08 22:32:49 +01:00
parent 3950d9db23
commit f3b6587310
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ public class DeckAdapter extends BaseAdapter
list.setPadding(5, 5, 5, 5);
list.setTranscriptMode(ListView.TRANSCRIPT_MODE_NORMAL);
list.setScrollContainer(false);
list.setSelection(list.getAdapter().getCount() - 1); // scroll to bottom
return list;
}