Skip to content

Commit

Permalink
Merge branch 'develop' into feature/GH-8-rgb-seekbars-implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
N7k authored Mar 29, 2020
2 parents cac3b58 + 65b6f4b commit ad1421e
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
36 changes: 33 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
Gradle dependency:

```gradle
implementation "codes.side:andcolorpicker:0.2.0"
implementation "codes.side:andcolorpicker:0.3.0"
```

## :art: Picker types
Expand All @@ -30,7 +30,7 @@ implementation "codes.side:andcolorpicker:0.2.0"

- *Add color model description*

![](github/type_hsl.png)
![](github/seek_bar_hsl_pure.png)

#### Layout XML Snippet

Expand Down Expand Up @@ -121,9 +121,39 @@ pickerGroup.setColor(
hueColorPickerSeekBar.progress = 50
```

### RGB (red, green, blue)

![](github/seek_bar_rgb_pure.png)

#### Layout XML Snippet

Basic RGB components:
```xml
<codes.side.andcolorpicker.rgb.RGBColorPickerSeekBar
android:id="@+id/redRGBColorPickerSeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:rgbMode="red" />
```

### LAB

![](github/seek_bar_lab_output.png)

#### Layout XML Snippet

Basic LAB components:
```xml
<codes.side.andcolorpicker.lab.LABColorPickerSeekBar
android:id="@+id/lLABColorPickerSeekBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:labMode="l" />
```

### CMYK (cyan, magenta, yellow, key)

![](github/type_cmyk.png)
![](github/seek_bar_cmyk_pure.png)

#### Layout XML Snippet

Expand Down
4 changes: 2 additions & 2 deletions andcolorpicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ dependencies {
publish {
def groupProjectID = "codes.side"
def artifactProjectID = "andcolorpicker"
def publishVersionID = "0.2.0"
def publishVersionID = "0.3.0"
userOrg = "side-codes"
repoName = "andColorPicker"
groupId = groupProjectID
artifactId = artifactProjectID
publishVersion = publishVersionID
desc = "Handy, flexible and lightning-fast material color picker UI component for Android"
desc = "Handy, flexible and lightning-fast material color picker view components for Android"
website = "https://github.com/side-codes/andColorPicker"
}
Binary file added github/seek_bar_cmyk_pure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added github/seek_bar_hsl_pure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added github/seek_bar_lab_output.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added github/seek_bar_rgb_pure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ad1421e

Please sign in to comment.