FlexboxLayout is a library project which brings the similar capabilities of CSS Flexible Box Layout Module to Android. Starting from 1.1.0, the library is expected to use with AndroidX. You should migrate to AndroidX if you use 1.1.0 or above. There are two ways of using Flexbox in your layout. The first one is FlexboxLayout that extends the ViewGroup like LinearLayout and RelativeLayout. You can specify the attributes from a layout XML. The second one is FlexboxLayoutManager that can be used within RecyclerView. The advantage of using FlexboxLayoutManager is that it recycles the views that go off the screen for reuse for the views that are appearing as the user scrolls instead of inflating every individual view, which consumes much less memory especially when the number of items contained in the Flexbox container is large.

Features

  • FlexboxLayout brings the similar capabilities of CSS Flexible Box Layout Module to Android
  • You can specify the attributes from a layout XML
  • The advantage of using FlexboxLayoutManager is that it recycles the views that go off the screen
  • flexDirection, flexWrap, alignItems, alignContent, among other attributes
  • There are two ways of using Flexbox in your layout
  • This library tries to achieve the same capabilities of the original Flexible Box specification as much as possible

Project Samples

Project Activity

See All Activity >

Categories

Frameworks, Libraries

License

Apache License V2.0

Follow FlexboxLayout

FlexboxLayout Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of FlexboxLayout!

Additional Project Details

Operating Systems

Android

Programming Language

Kotlin

Related Categories

Kotlin Frameworks, Kotlin Libraries

Registered

2021-03-17