CardStackUI

Additional

Language
Java
Version
v0.3 (Apr 4, 2016)
Created
Jan 19, 2016
Updated
Apr 11, 2017
Owner
Mutual Mobile (mutualmobile)
Contributors
mustafa01ali
Tushar Acharya (tushar-acharya)
2
Activity
Badge
Generate
Download
Source code
APK file

Blurb

CardStack

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

Init Animation

Card Click

Basic Drag

Parallax Drag

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.5.3'
}

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 - 2016 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.