A Cool Cards Menu Concept
The Android implementation of Cards Menu Concept by Gal Shir.
This is Gal Shir's awesome shot.
I published the library with Jitpack, so add it to your build.gradle with:
repositories {
...
maven { url "https://jitpack.io" }
}Add the dependency:
dependencies {
compile 'com.github.DxTT:coolMenu:v1.1'
}The usage is really like ViewPager, just add CoolMenuFrameLayout to your layout.
An example of basic usage in layout.xml:
This statement declares the number of cards, The upper limit is five.
app:num="four"You can set your title icon or title style in xml like this:
app:titleSize="@dimen/cl_title_size"
app:titleColor="@color/colorPrimary"
app:titleIcon="@drawable/menu"Like ViewPager,set an Adapter for the CoolMenuFrameLayout view.
…coolMenu is available under the MIT license
No open issues yet, or sync has not completed.