我的布局看起来像这样:
<LinearLayout> <RelativeLayout> Some Image and Text as Title </RelativeLayout> <RelativeLayout> <LinearLayout> <ListView> My message List </ListView> </LinearLayout> <RelativeLayout> Edit Box and Send Button </RelativeLayout> </RelativeLayout> </LinearLayout>
我在显示时明确地将当前选择设置为列表的最后一项(最新).
如果未在底部的“编辑”框中输入文本,则屏幕如下所示:
Top Title List Item 8 List Item 7 ... List Item 2 List Item 1 Bottom Edit Box and Send Button
当我单击编辑框以输入我的消息时,屏幕如下所示:
Top Title List Item 8 ... List Item 5 Bottom Edit Box and Send Button Keyboard
我真正想要的是:
Top Title List Item 4 ... List Item 1 Bottom Edit Box and Send Button Keyboard
有谁可以帮助我吗?