有时候聊天记录用ListView完成的时候,需要用户打开界面的时候,ListView定位在底部,可用如下代码来实现: gd_listview.setSelection(gd_listview.getBottom());