Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
The xmlns attribute needs to move to ScrollView because it always has to be declared in the first tag after the ?xml tag. You also need to specify the layout width and layout height for the ScrollView. I may be wrong that the xmlns attribute needs to be moved to the ScrollView... I just always ma

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Amit Sood
Justin, Thanks for the reply. I did add the scroll view in the xml but the application is crashing now. Please find the updated below and please advice http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="fill_parent" android:layout_hei

Re: [android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Justin Anderson
Wrap the LinearLayout in a ScrollView and take the following line out of LinearLayout: android:scrollbars="vertical" Not sure if that is the best or recommended way but that is how I did it in my app... -- There are only 10 type

[android-beginners] vertical Scrollbar in linearlayout not working

2010-07-21 Thread Amit Sood
Hello Experts, I have a linear layout in which i have many buttons. As i m adding more to it the layout is not bring its scroll so i cannot see my newly added buttons XML for the layout is below. Please advice http://schemas.android.com/apk/res/ android" android:orientation="vertical"