Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 18.104.22.168 release ready!
Owner and Founder. Opencart
A FlexBoxLayout (Flexible box layout) in android is similar to the one in CSS. Its work is to make a layout flexible. As you know the android have limited screen size so sometimes the length of the data increases throwing our views out. In vertical layout it can be solved with applying a parent ScrollView but things got really weird with Horizontal Layouts. Then there comes the FlexBoxLayout to our rescue.
The FlexBoxLayout contains many properties like flex direction, flex_wrap, justifyContent and many more. But I am especially using the flex_wrap property as it let me put any number of views in horizontal layout. It wraps the horizontal content such that if there is no space it will go to next line. Isn’t it great?
for using FlexBoxlayout you have to add a dependency to your project
And then you can use it anywhere like I used it add a address in my view such that
And with that you got what actually you wanted. As I had already said it has many more properties its just a demo. You can check more here.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.