Gradients

General

Category
Free
Tag
Colors
License
MIT License
Min SDK
16 (Android 4.1 Jelly Bean)
Registered
Oct 24, 2018
Favorites
3
Link
https://github.com/bakhtiyork/gradients
See also
Palette Helper
GlidePalette
Prism
RxPalette
Atelier

Additional

Language
Kotlin
Version
N/A
Created
Oct 14, 2018
Updated
Oct 23, 2018
Owner
bakhtiyork
Contributor
bakhtiyork
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

Gradients

A curated collection of splendid gradients made in Kotlin (port of https://webgradients.com for Android). Only linear gradients included for now.

Sample app

Installation

Add to dependencies in gradle file

implementation 'com.bakhtiyor.gradients:gradients:0.1.0'

How To Use

view.drawable = Gradients.warmFlame()

You can set drawable shape:

view.drawable = Gradients.warmFlame().apply { shape = OvalShape() }

TODO

Implement radial and blended gradients.

Gredits

License

Gradients is available under the MIT license.