All Projects → attenzione → Android Colorpickerpreference

attenzione / Android Colorpickerpreference

Licence: apache-2.0
ColorPickerPreference for android to create color picker in preferences. Project created as Library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Colorpickerpreference

color-generate
An awesome theme color generation scheme.
Stars: ✭ 165 (-74.89%)
Mutual labels:  color-picker
Ngx Color
🎨 Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
Stars: ✭ 310 (-52.82%)
Mutual labels:  color-picker
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-33.94%)
Mutual labels:  color-picker
Colorpicker
🎨 A color picker for Android. Pick a color using color wheel and slider (HSV & alpha).
Stars: ✭ 254 (-61.34%)
Mutual labels:  color-picker
Color Studio
It is too hard to build coherent and accessible themes with the right colors. This should help.
Stars: ✭ 289 (-56.01%)
Mutual labels:  color-picker
Pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
Stars: ✭ 3,759 (+472.15%)
Mutual labels:  color-picker
adobe-color-picker
The rebuilt color picker of Adobe scripting for PS,AI,AE and so on.
Stars: ✭ 37 (-94.37%)
Mutual labels:  color-picker
Alerts And Pickers
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
Stars: ✭ 5,267 (+701.67%)
Mutual labels:  color-picker
Colorpreference
A custom preference item for easy implementation of a color picker in Android's preference screen.
Stars: ✭ 299 (-54.49%)
Mutual labels:  color-picker
Md2
Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Collapse, Colorpicker, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
Stars: ✭ 389 (-40.79%)
Mutual labels:  color-picker
Colorslider
🎨 Snapchat-style color picker in Swift
Stars: ✭ 258 (-60.73%)
Mutual labels:  color-picker
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-58.75%)
Mutual labels:  color-picker
Handycontrols
Contains some simple and commonly used WPF controls based on HandyControl
Stars: ✭ 347 (-47.18%)
Mutual labels:  color-picker
Egorozh.ColorPicker
🎨🎨🎨 Best of the best ColorPicker on WPF and AvaloniaUI
Stars: ✭ 39 (-94.06%)
Mutual labels:  color-picker
Vue Swatches
🎨 Help the user picking beautiful colors!
Stars: ✭ 456 (-30.59%)
Mutual labels:  color-picker
UIElements
Various scripts related to Unity UI Toolkit (UIElements).
Stars: ✭ 73 (-88.89%)
Mutual labels:  color-picker
Pixel Picker
A tiny menu bar application that helps you pick colours from your screen! 🔍✨
Stars: ✭ 318 (-51.6%)
Mutual labels:  color-picker
Colorpicker
A highly customizable color picker for Android
Stars: ✭ 644 (-1.98%)
Mutual labels:  color-picker
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (-28.92%)
Mutual labels:  color-picker
Hsv Color Picker Unity
HSV color picker for Unity UI
Stars: ✭ 355 (-45.97%)
Mutual labels:  color-picker

===================== ColorPickerPreference

Generally used classes by Daniel Nilsson. ColorPickerPreference class by Sergey Margaritov. Packed by Sergey Margaritov. Packed again and made Gradle compatible by Vincent Fischer.

Features

  • Color Area
  • Hue Slider
  • Alpha Slider (disabled by default)
  • Old & New Color
  • Color Preview in Preferences List

Requirements

Tested with APIv7, but maybe will work with early versions

Installation

Through Gradle

You can now install this through Gradle with a simple: ::

implementation 'net.margaritov.preference.colorpicker.ColorPickerPreference:ColorPickerPreference:1.0.0'

Android Studio

  1. Paste or clone this library into the /libs folder, in the root directory of your project. Create a new folder: /libs if not already present. (This step is not required - only for keeping cleaner project structure)

  2. Edit settings.gradle by adding the library. You have also define a project directory for the library. Your settings.gradle should look like below: ::

    include ':app', ':ColorPickerPreference' project(':ColorPickerPreference').projectDir = new File('app/libs/ColorPickerPreference')

  3. In app/build.gradle add the ColorPickerPreference library as a dependency: ::

    dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:21.0.3' implementation project(":ColorPickerPreference") }

  4. Sync project, clean and build. You can use the ColorPickerPreference library as part of your project now.

Eclipse

  1. Before you can add a ColorPickerPreference to your application, you must first add a library reference:
  2. Clone or download a copy of the library
  3. Import the library into Eclipse: File menu -> Import -> Existing Project into Workspace
  4. Open your application's project properties and add a library reference to ColorPickerPreference

Usage

You can see some tests inside

::

<net.margaritov.preference.colorpicker.ColorPickerPreference
    android:key="color1"
    android:title="@string/color1_title"
    android:summary="@string/color1_summary"
    android:defaultValue="@color/pumpkin_orange"    <!-- integer resources are also accepted -->
    alphaSlider="true"                              <!-- enable alpha slider via XML -->
/>

To enable Alpha Slider in your code use function: :: setAlphaSliderEnabled(boolean enable)

Screens

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].