rad*_*m22 7 keyboard android listview android-edittext
我的布局看起来像这样:
<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>
Run Code Online (Sandbox Code Playgroud)
我在显示时明确地将当前选择设置为列表的最后一项(最新).
如果未在底部的"编辑"框中输入文本,则屏幕如下所示:
Top Title
List Item 8
List Item 7
...
List Item 2
List Item 1
Bottom Edit box and Send Button
Run Code Online (Sandbox Code Playgroud)
当我单击编辑框以输入我的消息时,屏幕如下所示:
Top Title
List Item 8
...
List Item 5
Bottom Edit Box and Send Button
Keyboard
Run Code Online (Sandbox Code Playgroud)
我真正想要的是:
Top Title
List Item 4
...
List Item 1
Bottom Edit Box and Send Button
Keyboard
Run Code Online (Sandbox Code Playgroud)
有谁可以帮助我吗?
| 归档时间: |
|
| 查看次数: |
7487 次 |
| 最近记录: |