Android Color Palette Picker
Developed by: Pirashanth Suri (DEVPIRA)
This is a simple to use color picker that can be included into any android project with ease. It has a simple component that allows less experienced users to select from an array of colors based off of the Android's Material design color palette.
For more experienced users who wish to generate there own unique color, they can use the advance function that allows them to describe each value of a color.
How to install
Add the following to your 'build.gradle' file in AndroidStudios:
gradle
dependencies {
compile 'com.devpira.colorlibrary:AndroidColorPicker:1.0.0'
}
How to use
To open up the Color Picker, simply add the following lines to your code:
ColorPalettePicker.open(context, parentLayout, new ColorPalettePicker.OnColorPalettePickerListener() {
@Override
public void onColorSelected(int color) {
}
});
Limitations
Verison 1.0.0:
- Does not support landscape view
- Child views of the color picker cannot be customized or changed.
License
Copyright 2016 DEVPIRA
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.