如何在android中动态地在ExpandableListview的末尾放置一个按钮
在我的应用程序中,我有一个扩展 ExpandableListActivity 的活动,我想在 ExpandableListview 的末尾放置一个按钮,这样如果我扩展它应该在 listview 的末尾。
问题是展开 Expandablelistview 中的所有项目后,它会全屏显示并且按钮不会出现。 如何使用 ExpandableListview 滚动按钮? 我也尝试给 Scrollview 但它不起作用。 给我一个方法,我应该在 xml 文件中编写什么内容才能获得正确的 o/p。 谢谢
In my application i have an activity which extends ExpandableListActivity, there i want to put a button at the end of ExpandableListview, so that if i exapand it should be at the end of listview.
The problem is after exapanding all the items in Expandablelistview it takes the full screen and the button does not appear.
How can I scroll button with ExpandableListview?
I also tried to give Scrollview but its not working.
Give me a way what should I write in xml file for proper o/p.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建一个由要设置为页脚的
Button
组成的footerview 布局
,然后尝试Footer_layout xml 文件
Create a
footerview layout
consisting ofButton
that you want to set as footer and then tryFooter_layout xml file