Based on the work of Eugene Brusov.
http://eugenebrusov.com/using-of-constraintlayout-to-build-out-cardview-1-of-3/ https://github.com/eugenebrusov/android-cards
In the root build.gradle.kts
:
allprojects {
repositories {
// ...
maven(url = "https://jitpack.io")
}
}
In the app's build.gradle.kts
, add the dependency:
dependencies {
implementation("com.github.khonsu-development:material-cards:<latest-version>")
}
JitPack is an easy-to-use package repository for Git. It is where this Android design library is published.
In order to publish the latest version of this library on Jitpack:
- Go to https://jitpack.io/#khonsu-development/material-cards
- Click on "Get it", next to the desired version.