---
title: "ScrollView下的LinearLayout的高度问题"
author: "jogickis"
date: "2014-01-10T09:47:55Z"
tags: []
categories: ["移动开发"]
slug: "scrollview-linearlayout"
draft: false
lastmod: "2014-01-10T09:52:11Z"
id: 2002163
url: "https://jogickis.iteye.com/blog/2002163"
---

ScrollView下的LinearLayout的高度只能内容自适应，不能填充整个父控件

只能使用：android:layout\_height="wrap\_content"

 

 

因为ScrollView的大小本来就不确定的，是内容自适应的