Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
duanhong169 committed Sep 25, 2018
1 parent 41ea5e6 commit ecfe0a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit ecfe0a3

Please sign in to comment.