An iOS Passbook-like highly customisable stack of cards implementation for Android.
Complete Demo - https://www.youtube.com/watch?v=8VjEa_u3LkM
Sample app APK - https://github.com/mutualmobile/CardStackUI/releases
dependencies {
...
compile 'com.mutualmobile.android:cardstack:0.5.3'
}
<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" />
parallax_enabled
and parallax_scale
are not working currently. Also the drag to move cards also is not working.
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.