【发布时间】:2012-12-07 16:01:43
【问题描述】:
在我的应用程序中,我有一个包含LinearLayout--> Top、GridView--> Middle 和set of views which should be aligned to the bottom 的布局。
1. gridview 内容不多时的布局
2。增加网格视图内容时的布局
3.当 Gridview 内容非常大时,布局应该如何显示
目前我的网格视图正在扩展,当其中的内容增加时,较低级别的内容在屏幕中不可见。
我不想为网格视图分配特定的高度,因为它在不同尺寸的屏幕中看起来很奇怪。
Is there any way that the gridview expands only upto the bottom views?我的父布局是LinearLayout。我已经尝试过使用相对布局,但它不起作用。
【问题讨论】:
标签: android android-layout gridview alignment android-linearlayout