I want to define a layout that it’s orientation is horizontal, but if width of the child views exceeds the width, it adds the new child view in a new line.
can it be done?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For this you will need a FlowLayout whose custom implementation is given on this link
Courtesy : Nishant Nair
http://nishantvnair.wordpress.com/2010/09/28/flowlayout-in-android/