Skip to content

Koallider/ColorPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorPicker

Simple color picker widget for Android

screenshot_20171027-113132

Download

Grab via gradle

dependencies {
    compile 'ru.ryakovlev.android:color-picker:0.0.1'
}

or AAR from JCenter

Usage

<ru.ryakovlev.colorpicker.ColorPicker
    android:id="@+id/colorPicker"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    color:layoutType="linear_horizontal" 
    color:colors="@array/colorList"/>
colorPicker.onColorSelected { color -> root.setBackgroundColor(color) }

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Color Picker widget for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages