diff --git a/README.md b/README.md index f8e1a85..23ba578 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ dependencies { ```java new ColorPickerPopup.Builder(this) .initialColor(Color.RED) // Set initial color + .enableBrightness(true) // Enable brightness slider or not .enableAlpha(true) // Enable alpha slider or not .okTitle("Choose") .cancelTitle("Cancel") @@ -52,6 +53,7 @@ new ColorPickerPopup.Builder(this) android:id="@+id/colorPicker" android:layout_width="0dp" android:layout_height="wrap_content" + app:enableBrightness="true" app:enableAlpha="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" diff --git a/README_cn.md b/README_cn.md index 7d98d51..09aa4ad 100644 --- a/README_cn.md +++ b/README_cn.md @@ -24,6 +24,7 @@ dependencies { ```java new ColorPickerPopup.Builder(this) .initialColor(Color.RED) // Set initial color + .enableBrightness(true) // Enable brightness slider or not .enableAlpha(true) // Enable alpha slider or not .okTitle("Choose") .cancelTitle("Cancel") @@ -52,6 +53,7 @@ new ColorPickerPopup.Builder(this) android:id="@+id/colorPicker" android:layout_width="0dp" android:layout_height="wrap_content" + app:enableBrightness="true" app:enableAlpha="true" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent"