Tuesday, May 20, 2014

[android-developers] Adding button according to screen width and height

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment