Skip to content

Commit

Permalink
Create ChromaView usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsPriyesh committed Feb 21, 2016
1 parent 35e869e commit f7301e7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Expand Up @@ -22,7 +22,19 @@ ChromaDialog.with(this)
.create().show();
```

See the sample project for more details.
Don't want a dialog? Use `ChromaView` directly:
```
<me.priyesh.chroma.ChromaView
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:initialColor="@android:color/red"
app:colorMode="rgb"/>
ChromaView chromaView = ...;
chromaView.getCurrentColor();
```

Check out the [sample project](chroma-sample) for more details.

License
-------
Expand Down

0 comments on commit f7301e7

Please sign in to comment.