1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 02:42:16 -05:00

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

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;
}