简体   繁体   English

在 android 中为 gridview 添加页脚

[英]add a footer to gridview in android

I want to ask a question that, Is there any method to design a textview or any control at the footer or bottom of the grid view.我想问一个问题,是否有任何方法可以设计 textview 或网格视图页脚或底部的任何控件。 Because gridview doesn't have any footer related property and we can not add a scrollview on gridview thats why how can we implement this as show a textview in the bottom of the grid view or in the footer of the gridview. Because gridview doesn't have any footer related property and we can not add a scrollview on gridview thats why how can we implement this as show a textview in the bottom of the grid view or in the footer of the gridview. Please help me out about this problem.请帮我解决这个问题。

Not entirely sure what you are asking.不完全确定你在问什么。 You want to display textview down bottom of screen like a footer?您想像页脚一样在屏幕底部显示 textview 吗? could add this attribute to textview可以将此属性添加到 textview

  android:layout_alignParentBottom="true"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM