You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

com.github.madrapps:pikolo

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.github.madrapps:pikolo

An android color picker library


Version published
Maintainers
2

Readme

Source

Pikolo

An android color picker library

previewpreviewpreview

Download

repositories {
  jcenter() // or mavenCentral()
}

dependencies {
  implementation 'com.github.madrapps:pikolo:2.0.1'
}

Features

  • Includes HSLColorPicker and RGBColorPicker
  • Full customization of the various parts of the color picker (like arc length, arc position, indicator size, color, etc...) using XML attributes

Usage

Add the HSLColorPicker or RGBColorPicker view to your layout and use it in code as below:

final ColorPicker colorPicker = findViewById(R.id.colorPicker);
colorPicker.setColorSelectionListener(new SimpleColorSelectionListener() {
  @Override
  public void onColorSelected(int color) {
    // Do whatever you want with the color
    imageView.getBackground().setColorFilter(color, PorterDuff.Mode.MULTIPLY);
  }
});

License

Pikolo by Madrapps is licensed under a Apache License 2.0.

FAQs

Package last updated on 31 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc