Sunday, 15 February 2015

Android: How make dynamically generated check boxes or radio buttons wrap automatically? -


What I'm trying to do now is to wrap the radio button or checkbox button on my own I am generating a button How can I do this if it does not fit on the line then it will put a button in the next line. Looking at the image, we can see that the third check box is cutting from the screen. How can I start another line?

Enter image details here

< There is no way to do this in Android, rather than applying the logic that is capable of measuring the child's control, and calculate that the It reaches the end of the screen, and then creates a new layout row.

See a post about this topic, using a LinearLayout:

This approach is also discussed here:


No comments:

Post a Comment