colorpicker icon indicating copy to clipboard operation
colorpicker copied to clipboard

Error not changing color

Open Ninjacoderhsi opened this issue 3 years ago • 4 comments
trafficstars

Screenshot_20220616-180459_Color Picker

.with(MainActivity.this)
.setTitle("Color")
.initialColor(getColor(R.color.colorPrimary))
.wheelType(ColorPickerView.WHEEL_TYPE.FLOWER)
.density(12)
.setOnColorSelectedListener(new OnColorSelectedListener() {
			@Override
			public void onColorSelected(int selectedColor) {
						
			}
})
           .setPositiveButton("yes", new ColorPickerClickListener() {
			@Override
			public void onClick(DialogInterface dialog, int selectedColor, Integer[] allColors) {
						
		
		            String rgs = String.valueOf(selectedColor);
		
		Toast.makeText(getApplicationContext(), rgs, Toast.LENGTH_SHORT).show();
		
						
			}
})
.setNegativeButton("no", new DialogInterface.OnClickListener() {
			@Override
			public void onClick(DialogInterface dialog, int which) {
		
		         
		
			}
})

         
.build()
.show();

Hi I want to display the color code as #fff but it just returns a series of numbers can you help me

Ninjacoderhsi avatar Jun 16 '22 13:06 Ninjacoderhsi

those numbers are actually the integer value of the color. you will need to convert the number to hex values

TheRandomCrafter83 avatar Jun 16 '22 14:06 TheRandomCrafter83

those numbers are actually the integer value of the color. you will need to convert the number to hex values

How to set theme drak bro?

Arashvscode avatar Jun 17 '22 20:06 Arashvscode

unless you override it, the theme is set according to your device

TheRandomCrafter83 avatar Jun 17 '22 20:06 TheRandomCrafter83

للل

unless you override it, the theme is set according to your device

Vector I want to manually black out the theme

Arashvscode avatar Jun 17 '22 20:06 Arashvscode