I have had a number of problems with ScrollViews. Recently I tried to create a LinearView which content exceeds the screen size so I created the new layout with parent eleme
Yes, as Romain said, scrollview needs following combo.
android:fillViewport="true"
android:layout_height="wrap_content"
Your EditText should have a height of wrap_content
. fill_parent
has no meaning in a ScrollView
. If you want the EditText
to fill your ScrollView
when it's content is smaller than the ScrollView
, use android:fillViewport="true"
on the ScrollView
.