COSIN
Loading android view lib.
Gradle :
build.gradle (Project)
build.gradle (Module)
Quick start guide
Declaration
Properties
Property | Description |
---|---|
speed | Angle speed |
isLoading | If 'true' shows symbols on rectangle |
rectWidth | Width each of rectangle |
period | Determine period of cosinusoidal function |
colorAdapter | Define color changes by two parameters (position count, height percent) for each rectagle |
offset | Moving bottom offset |
directionRight | Determine movement side |
textAdapter | Define text changes by position count for each rectagle |
There are 6 default ColorAdapter implementation in box :
- DefaultColorAdapterGB (Green -> Blue)
- ColorAdapterBG (Blue -> Green)
- ColorAdapterBR (Blue -> Red)
- ColorAdapterGR (Green -> Blue)
- ColorAdapterRB (Red -> Blue)
- ColorAdapterRG (Red -> Green)
- ColorAdapterBG (Blue -> Green)
There are 2 default TextAdapter implementation in box :
- DefaultBinaryTextAdapter (shows random [0, 1] symbols in each rectagle)
- WordTextAdapter (shows specified cycle String)