Your question is not really clear, but you should not care about x or y or screen width or height. If you have a ScrollView wrapping a container that you're filling with views, it should just work.
Show some coe and or the layout you're working with. On Tue, May 20, 2014 at 6:35 AM, ANKUR GOEL <[email protected]> wrote: > Hi all , > > getting x numbers of labels from server . > and dividing the total (x) by 4 and creating that number of fragments so i > have 4 buttons in each fragment . > > But if the text label is big , its going out of screen .though i have put > scroll view . > > But i need to fit dynamic numbers of button according to height and width . > > Any help or suggestion . > > Thanks > ankur > > -- > 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] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

