A simple widget to display color. You can add corner, customize 2 of background colors.
- Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Step 2. Add the dependency:
dependencies {
...
implementation 'com.github.tianscar:colorview:1.0.0.0'
}
MIT © Tianscar