在Android卷轴视图(ScrollView)的子视图中,设置其android:layout_height="fill_parent"属性是无效的。为了解决这个问题,我们需要在在ScrollView中加入如下属性:

1 android:fillViewport="true"

原文地址:

    http://stackoverflow.com/questions/2599837/linearlayout-not-expanding-inside-a-scrollview

相关文章:

  • 2021-08-17
  • 2022-12-23
  • 2021-09-11
  • 2022-12-23
  • 2022-02-20
  • 2021-07-27
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2021-04-17
  • 2021-10-18
  • 2021-07-09
相关资源
相似解决方案