Skip to content
A simple Android stack view, build in Kotlin
Kotlin
Branch: master
Clone or download

Latest commit

Latest commit 7afe758 Mar 6, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper Initial commit Mar 4, 2020
library Initial commit Mar 4, 2020
sample Initial commit Mar 4, 2020
.gitignore Initial commit Mar 4, 2020
LICENSE Initial commit Mar 4, 2020
README.md Update README.md Mar 5, 2020
build.gradle Initial commit Mar 4, 2020
gradle.properties
gradlew Initial commit Mar 4, 2020
gradlew.bat Initial commit Mar 4, 2020
screenshot.gif Initial commit Mar 4, 2020
settings.gradle Initial commit Mar 4, 2020

README.md

Inspiration

This was inspired by SwipeStack and other libraries like it.

Screenshots

Usage

<chi.widget.StackView
    android:id="@+id/stackView"
    android:layout_width="match_parent"
    android:layout_height="280dp"
    android:paddingBottom="32dp"
    android:paddingStart="16dp"
    android:paddingEnd="16dp"
    app:stack_max_size="3"
    app:stack_spacing="12dp"
    android:background="#8EB54E" />

Download

Step 1. Add the JitPack repository to your root build.gradle at the end of allprojects repositories

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the StackView dependency

dependencies {
    ...
    implementation 'com.github.MostafaGazar:StackView:1.0.0'
    ...
}

Developed by

Mostafa Gazar

You can’t perform that action at this time.