lassana / adaptable-layout

Layout that can arrange children automatically.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AdaptableLayout

The layout that can arrange children automatically.

Screenshot

Usage:

Grab the latest version from jcenter:

repositories {
    jcenter()
}
dependencies {
    compile 'com.github.lassana:adaptable-layout:1.0.0'
}

In code:

AdaptableLayout layout = (AdaptableLayout) view.findViewById(R.id.layout);
layout.addView(button1);
layout.addView(button2);
layout.addView(button3);
//...

About

Layout that can arrange children automatically.

License:BSD 2-Clause "Simplified" License


Languages

Language:Java 100.0%