Hi, I think you have not placed your LinearLayout inside a ScrollView, this is needed if you want the scrollbars.
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/linearLayout"> </LinearLayout> </ScrollView> Thanks, Megha On Wed, Apr 9, 2008 at 1:25 PM, Android-Berry <[EMAIL PROTECTED]> wrote: > > Hi There, > > I have created Linearlayout dynamatically. and added some Checkbox, > and RadioButton to. > which can not display within one screen. > > however, it does not show Vertical Scroll bar, and down - arrow does > not work neither. > > here is the source code that I am using, > > mLL = new LinearLayout(mCtx); > mLL.setOrientation(LinearLayout.VERTICAL); > mLL.setLayoutParams(new LinearLayout.LayoutParams( > LayoutParams.FILL_PARENT, > LayoutParams.WRAP_CONTENT)); > mLL.setVerticalScrollBarEnabled(true); > mLL.setBackgroundColor(0xffffcc99); > > and it is displayed within TabPanel. > > Thanks > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

