Android: How make dynamically generated check boxes or radio buttons wrap automatically? -
what trying right making radio buttons or checkbox button wrap on own. generating buttons dynamically java. how make if cannot fit on row put button on next row. looking @ image can see third check box cut off screen. how can make start line?
there no way in android, rather implement logic able measure child controls of layout , calculate if reaches end of screen, , create new layout row.
take @ post subject, using linearlayout: android - linearlayout horizontal wrapping children
this approach discussed here: android horizontal linearlayout - wrap elements
Comments
Post a Comment