|
|
|
@ -16,19 +16,19 @@
|
|
|
|
|
|
|
|
|
|
package com.android.colorpicker;
|
|
|
|
|
|
|
|
|
|
import org.isoron.uhabits.R;
|
|
|
|
|
|
|
|
|
|
import android.app.Activity;
|
|
|
|
|
import android.app.AlertDialog;
|
|
|
|
|
import android.app.Dialog;
|
|
|
|
|
import android.app.DialogFragment;
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
import android.support.v7.app.AlertDialog;
|
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
|
import android.view.View;
|
|
|
|
|
import android.widget.ProgressBar;
|
|
|
|
|
|
|
|
|
|
import com.android.colorpicker.ColorPickerSwatch.OnColorSelectedListener;
|
|
|
|
|
|
|
|
|
|
import org.isoron.uhabits.R;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A dialog which takes in as input an array of palette and creates a palette allowing the user to
|
|
|
|
|
* select a specific color swatch, which invokes a listener.
|
|
|
|
|