Closed nandha444 closed 7 years ago
This lib support two type.
<attr name="wheelType" format="enum">
<enum name="FLOWER" value="0"/>
<enum name="CIRCLE" value="1"/>
</attr>
you can set this in layout xml like below.
<com.flask.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:alphaSlider="true"
app:density="12"
app:lightnessSlider="true"
app:wheelType="FLOWER"
app:lightnessSliderView="@+id/v_lightness_slider"
app:alphaSliderView="@+id/v_alpha_slider"
/>
or
<com.flask.colorpicker.ColorPickerView
android:id="@+id/color_picker_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:alphaSlider="true"
app:density="12"
app:lightnessSlider="true"
app:wheelType="CIRCLE"
app:lightnessSliderView="@+id/v_lightness_slider"
app:alphaSliderView="@+id/v_alpha_slider"
/>
What are all the wheel type Integers. I want to change wheel type to normal color picker.