views:

74

answers:

1

Hi stackies,

I'm filling programmatically a LinearLayout with some TextViews using the addView() method.

Is it even possible to let a LinearLayout scroll? Is there a widget that I could use instead? I tried quite a few but nothing worked.

I found a few websites that recommended to use a TextView to create a scrolling area, but a TextView won't take "subviews", right?

Thanks in advance!
S.

+2  A: 

Sounds like you want to put your LinearLayout inside a ScrollView.

Blumer
oh man! that easy! thanks! :)
Sotapanna