Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 2.31 KB

README.md

File metadata and controls

65 lines (52 loc) · 2.31 KB

CardStack

An iOS Passbook-like highly customisable stack of cards implementation for Android.

Build Status Version Android Arsenal

Init Animation

Card Click

Complete Demo - https://www.youtube.com/watch?v=8VjEa_u3LkM

Sample app APK - https://github.com/mutualmobile/CardStackUI/releases

Gradle

dependencies {
    ...
    compile 'com.mutualmobile.android:cardstack:0.6.0'
}

Usage

<com.mutualmobile.cardstack.CardStackLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:card_stack="http://schemas.android.com/apk/res-auto"
    android:id="@+id/cardStack"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    card_stack:card_gap="60dp"
    card_stack:card_gap_bottom="5dp"
    card_stack:parallax_enabled="true"
    card_stack:parallax_scale="-6"
    card_stack:showInitAnimation="true" />

Known Issues

parallax_enabled and parallax_scale are not working currently. Also the drag to move cards also is not working.

License

Copyright 2015 - 2019 Mutual Mobile

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.