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:
parent
3950d9db23
commit
f3b6587310
@ -212,6 +212,7 @@ public class DeckAdapter extends BaseAdapter
|
|||||||
list.setPadding(5, 5, 5, 5);
|
list.setPadding(5, 5, 5, 5);
|
||||||
list.setTranscriptMode(ListView.TRANSCRIPT_MODE_NORMAL);
|
list.setTranscriptMode(ListView.TRANSCRIPT_MODE_NORMAL);
|
||||||
list.setScrollContainer(false);
|
list.setScrollContainer(false);
|
||||||
|
list.setSelection(list.getAdapter().getCount() - 1); // scroll to bottom
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user