A color picker seekbar for android.

Related tags

SeekBar ColorSeekBar
Overview

ColorSeekBar Android Arsenal Download

A color picker seekbar for android.

Download

  • Use Gradle
compile 'com.divyanshu.colorseekbar:colorseekbar:1.0.2'
  • or Maven
<dependency>
  <groupId>com.divyanshu.colorseekbar</groupId>
  <artifactId>colorseekbar</artifactId>
  <version>1.0.2</version>
  <type>pom</type>
</dependency>

Usage

  • XML
<com.divyanshu.colorseekbar.ColorSeekBar
       android:id="@+id/color_seek_bar"
       android:layout_width="0dp"
       android:layout_height="wrap_content"
       android:layout_margin="16dp"
       app:layout_constraintStart_toStartOf="parent"
       app:layout_constraintEnd_toEndOf="parent"
       app:layout_constraintTop_toTopOf="parent"
       app:layout_constraintBottom_toBottomOf="parent" />
  • Attributes
Attribute Name Description
app:colorSeeds="@array/colors" Set the colors of seekbar
app:cornerRadius="4dp" Sets the corner radius of bar.
app:barHeight="8dp Sets the height of color bar.
app:thumbBorder="4dp" Sets the width of thumb border.
app:thumbBorderColor="@android:color/black" sets the color of thumb border.
  • Listener
color_seek_bar.setOnColorChangeListener(object: ColorSeekBar.OnColorChangeListener{
           override fun onColorChangeListener(color: Int) {
               //gives the selected color
               view.setBackgroundColor(color)
           }
       })

Connect

LICENCE

Copyright 2018 Divyanshu Bhargava

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
You might also like...
Android widget for selecting a range of values.
Android widget for selecting a range of values.

MaterialRangeBar MaterialRangeBar is a fork from https://github.com/edmodo/range-bar that adds some basic material styling, as well as start and end v

A circular seek bar for Android
A circular seek bar for Android

CircularSeekBar A circular seek bar for Android. Modification 1. Modified setProgress(int progress) method. 2. Added hideSeekBar() To hide seekbar. 3.

Simple custom Android View providing a Circular spin to SeekBars
Simple custom Android View providing a Circular spin to SeekBars

CircularSeekBar This is a simple Seek Bar, in the shape of a circle, responsive to the speed of the spin: the faster you spin the control, the faster

A color picker seekbar for android.
A color picker seekbar for android.

ColorSeekBar A color picker seekbar for android. Download Use Gradle compile 'com.divyanshu.colorseekbar:colorseekbar:1.0.2' or Maven dependency

For color lovers! A simple but powerful Android color picker
For color lovers! A simple but powerful Android color picker

#DEPRECATED Credits for the logo goes to Hafiz Ahmmed (https://github.com/hafizahmmed) ColorBox library Features Dynamic color preview; Change the col

A color picker and a color preference for use in Android applications.
A color picker and a color preference for use in Android applications.

HSV-Alpha Color Picker for Android This library implements a color picker and a color preference for use in Android applications. Features I couldn't

A colorful SeekBar for picking color
A colorful SeekBar for picking color

ScreenShot: Attrs attr format default colorSeeds references colorBarPosition integer 0 alphaBarPosition integer 0 maxPosition integer 100 bgColor colo

This is an android studio plugin that allows you to creates new color in hex format based on a percentage (0-100) and a base color you specify.

alpha-color Description This is an android studio plugin that allows you to creates new color in hex format based on a percentage (0-100) and a base c

Color.kt is a modern color science library for Kotlin Multiplatform and Java.

Color.kt is a modern color science library for Kotlin Multiplatform and Java. It includes modern perceptually-uniform color spaces and color appearance models, such as Oklab and ZCAM.

Color.kt is a modern color science library for Kotlin Multiplatform and Java.

Color.kt is a modern color science library for Kotlin Multiplatform and Java. It includes modern perceptually-uniform color spaces and color

Color-Book - A simple color book made with compose
Color-Book - A simple color book made with compose

Color-Book A simple color book made with compose

Color picker library for Android
Color picker library for Android

andColorPicker — Color Picker library for Android 🥑 Handy, 🐍 flexible, and ⚡ lightning-fast Android color picker views and utilities. 💊 Features Cl

Beautiful color picker dialog for Android 9+
Beautiful color picker dialog for Android 9+

Color-O-Matic Beautiful Color Picker dialog for Android 9+ based on VintageChroma by Pavel Sikun. Screenshots at the end of the file. Repository Add t

 Color Picker — beautiful library for Android
Color Picker — beautiful library for Android

Color Picker — beautiful library for Android Features Simple dialog builder ARGB, RGB & HSV color models Dark theme support Sliders with gradient back

Alwan 🎨 is an Android Jetpack Compose color picker library.
Alwan 🎨 is an Android Jetpack Compose color picker library.

Alwan Alwan is an Android Jetpack Compose color picker library. Preview Recording.mp4 Download Gradle: dependencies { implementation 'com.raedapps:a

A component that provides an HSV color picker, written in Jetpack compose🎨
A component that provides an HSV color picker, written in Jetpack compose🎨

A component that provides an HSV color picker, written in Jetpack compose🎨

Jetpack Compose Color Picker
Jetpack Compose Color Picker

Bundle of Stylish customizable Color pickers, selectors, colorful sliders written with Jetpack Compose enables users to choose from HSL, HSV or RGB color modes to pick Solid colors or gradients.

🌈 Palette - A color picker library made in Jetpack Compose
🌈 Palette - A color picker library made in Jetpack Compose

🌈 Palette A color picker library made in Jetpack Compose. Including in your project Gradle Add it in your root build.gradle at the end of repositorie

A color picker for Jetpack compose 🎨
A color picker for Jetpack compose 🎨

Compose Color Picker 🎨 Color Picker for Jetpack compose A color picker for Jetpack compose 🎨 Download 🚧 Working on it 🚧 Usage ColorPicker { co

Comments
  • [BUG] Color indicator crop

    [BUG] Color indicator crop

    Hi, I have try to increase the height of the ColorSeekBar, but if I put more than 11dp, the color indicator (who grow up on selection) is crop when I when to choose the first or the last color. And it's impossible to add padding to the seekbar to avoid that. Do you have a solution or maybe add setPadding function ?

    Thanks a lot !

    Maendrad.

    opened by Maendrad 1
  • If view is disable dont processing onTouchEvent

    If view is disable dont processing onTouchEvent

    https://github.com/divyanshub024/ColorSeekBar/blob/b08f896845e94fe7c9452285e22151d150fe5718/colorseekbar/src/main/java/com/divyanshu/colorseekbar/ColorSeekBar.kt#L144-L164

     override fun onTouchEvent(event: MotionEvent?): Boolean { 
        if(!isEnable) return true
        ...
     }
    
    opened by AnadolStudio 0
  • doesn't support programmatically created view

    doesn't support programmatically created view

    ColorSeekBar(context: Context, attributeSet: AttributeSet): View(context, attributeSet)

    with hard attributeSet: AttributeSet means it can only be initialized in xml which is totally not necessary AttributeSet? would've be good enough

    opened by hereisderek 0
Releases(v1.0.2)
Owner
Divyanshu Bhargava
Remote Flutter developer | Public Speaker 🎙️| Open source enthusiast | Blogger 📝| Exploring new Tech. 🇮🇳
Divyanshu Bhargava
Circular SeekBar view for Android

SeekArc What is a SeekArc? So what the heck is a SeekArc? Essentially it’s a SeekBar that has been wrapped around a circle. It acts like a SeekBar and

Neil Davies 870 Dec 10, 2022
Custom circular SeekBar (Circle, Semi-circle, and Ellipse) View/Widget for Android

CircularSeekBar Android CircularSeekBar Custom View/Widget This is a custom circular SeekBar. It can be used to create SeekBars that are: -Full Circle

Matt Joseph 462 Dec 19, 2022
Android circle seekbar widget inspired from: https://github.com/LarsWerkman/HoloColorPicker

Android HoloCircleSeekBar A Circle SeekBar inspired by Android Holo ColorPicker designed by Marie Schweiz and developed by Lars Werkman. How to integr

Jesus 232 Nov 10, 2022
StartPointSeekBar is a custom view for the Android platform that makes it possible to have a SeekBar to have custom start point.

Forked/Inspired from https://code.google.com/p/range-seek-bar/ by [email protected] This solves the problem as described in http://

Gaurav Vashisth 142 Dec 29, 2022
Ranger is custom view which able to act like android seekbar.

Ranger is custom view which able to act like android seekbar.

Enes Zor 3 Oct 17, 2021
A SeekBar suited for showing a preview of something. As seen in Google Play Movies.

PreviewSeekBar A SeekBar suited for showing a video preview. As seen in Google Play Movies Google Play Movies PreviewSeekBar's sample Build Add the fo

Rúben Sousa 3.3k Jan 3, 2023
 A beautiful and powerful SeekBar what supports single、 range、steps、vetical、custom( 一款美观强大的支持单向、双向范围选择、分步、垂直、高度自定义的SeekBar)

文档还是中文好 Demo APK download fir.im Usage Dependencies Release Version allprojects { repositories { ... maven { url 'https://jitpack.io' }

null 2.3k Jan 5, 2023
A seekbar contains two cursor(left and right). Multiple touch supported.

RangeSeekbar A seekbar contains two cursor and support multi-touch. RangeSeekbar have left and right cursors, user can move cursor to make fliter. How

dolphinWang 283 Mar 28, 2022
A material Date Range Picker based on wdullaers MaterialDateTimePicker

Material Date and Time Picker with Range Selection Credits to the original amazing material date picker library by wdullaer - https://github.com/wdull

Supratim 1.3k Dec 14, 2022
A simple material-based support library to bring consistent SeekBars on Android 14 and above

SeekBarCompat A support library for the material design SeekBar in Android for API 14 and above. Screenshot On APIs 14 and above - Seekbars would look

Ahmed Rizwan 157 Dec 27, 2022