All Projects → milosmns → Circular Slider Android

milosmns / Circular Slider Android

Licence: gpl-3.0
Circular Slider UI Control for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Circular Slider Android

rn-circular-slider
React Native circular slider based on react-native-svg
Stars: ✭ 25 (-92.06%)
Mutual labels:  slider, circle
Jocircularslider
A highly customisable and reusable circular slider for iOS applications.
Stars: ✭ 128 (-59.37%)
Mutual labels:  slider, circle
Hgcircularslider
A custom reusable circular / progress slider control for iOS application.
Stars: ✭ 2,240 (+611.11%)
Mutual labels:  slider, circle
Cirque
An iOS component that enables you to draw multi color circle strokes with gradient trasitions between colors
Stars: ✭ 23 (-92.7%)
Mutual labels:  circle
jekyll-ideal-image-slider-include
Add image sliders to Jekyll with Ideal Image Slider. HTML include version. Github Pages compatible. (This repository is archived. Issues are disabled. Pull requests will be ignored.)
Stars: ✭ 27 (-91.43%)
Mutual labels:  slider
Slidepage
简单、跨平台、无依赖的全屏滚动H5插件,可实现内容超出屏幕滚动、动态更新等特色功能
Stars: ✭ 285 (-9.52%)
Mutual labels:  slider
Zuck.js
A javascript library that lets you add stories EVERYWHERE.
Stars: ✭ 3,396 (+978.1%)
Mutual labels:  slider
jekyll-ideal-image-slider
Add image sliders to Jekyll with Ideal Image Slider. Ruby plugin version. (This repository is archived. Issues are disabled. Pull requests will be ignored.)
Stars: ✭ 17 (-94.6%)
Mutual labels:  slider
React Native Percentage Circle
🐳 React Native Percentage Circle
Stars: ✭ 311 (-1.27%)
Mutual labels:  circle
Sleek circular slider
Sleek circular slider for Flutter
Stars: ✭ 269 (-14.6%)
Mutual labels:  slider
Vue Ydui
A mobile components Library with Vue2.js. 一只基于Vue2.x的移动端组件库。
Stars: ✭ 2,798 (+788.25%)
Mutual labels:  slider
SlidableImage
Fancy slider for before&after images
Stars: ✭ 32 (-89.84%)
Mutual labels:  slider
Skitter
Skitter - Slideshow for anytime
Stars: ✭ 295 (-6.35%)
Mutual labels:  slider
zSlider
A pure JavaScript Carousel/Slider plugin that works well at Mobile/PC
Stars: ✭ 12 (-96.19%)
Mutual labels:  slider
Vue Easy Slider
Slider Component of Vue.js.
Stars: ✭ 313 (-0.63%)
Mutual labels:  slider
Multislider
Multi functional slider/seekbar( / rangebar / scrubber) for Android
Stars: ✭ 309 (-1.9%)
Mutual labels:  slider
Ngx Slider
Self-contained, mobile friendly slider component for Angular 6+ based on angularjs-slider
Stars: ✭ 258 (-18.1%)
Mutual labels:  slider
react-styled-carousel
React styled components carousel or slide show. No external css import is required.
Stars: ✭ 42 (-86.67%)
Mutual labels:  slider
Bootstrap Slider
A slider control for Bootstrap 3 & 4.
Stars: ✭ 2,981 (+846.35%)
Mutual labels:  slider
Circleprogressview
🎡 CircleProgressView是一个圆形渐变的进度动画控件(支持外环显示刻度,内环随之变化,配置参数完全可配),动画效果纵享丝滑。
Stars: ✭ 314 (-0.32%)
Mutual labels:  circle

Circular Slider

Android Weekly Android Arsenal

What is this?

Circular Slider is a custom-built Android View used for choosing numbers. It works similarly to the regular slider control (SeekBar), just goes around in a circular fashion - simple enough. Note that the thumb scroller (the thing you drag around) can be either a solid-color circle or a custom drawable (like a PNG image).

Requirements

  • Android 3.0 or later (Minimum SDK level 11)
  • Android Studio (to compile and use)
  • Eclipse is not supported

Getting Started

  1. Download Android Studio
  2. Launch Android Studio
  3. Start your new project
  4. Open your project's main Gradle file, in root directory (/build.gradle)
  5. Make sure you are using jcenter() in the repository block (mavenCentral() should work too)
  6. Open your app module Gradle file, for example /app/build.gradle
  7. In dependencies block, add the following line: compile 'me.angrybyte.slider:slider:1.4.2'
  8. Click Tools/Android/Sync Project with Gradle Files or click on the Sync icon in the top toolbar
  9. Click Run/Run 'app' to see if it's resolved correctly

This will run the app on your device. You may need to download a newer version of Gradle, which will be available in the Android Studio UI if compile fails.

What does it look like?

screenshot_1

A dark variant

Sample usage

<me.angrybyte.circularslider.CircularSlider
    android:id="@+id/circular"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:padding="30dp"
    circular:angle="3.14"
    circular:border_color="#505090"
    circular:border_thickness="14dp"
    circular:border_gradient_colors="#f05151;#4a90e2;#4a90e2"
    circular:thumb_color="#30AEFF"
    circular:thumb_size="24dp" />

Explanation of attributes

Here are some short explanations for the attributes provided by the view. You can leave out any of them, values will get set to default ones.

  • angle: (float) The current position of the slider thumb, a pi-based value of the angle (radians).
  • start_angle: (float) The starting position of the slider thumb, a pi-based valued of the angle (radians).
  • border_thickness: (dimension) How thick should the slider border be (this can be a 0-dimension).
  • border_color: (color) Recolors the slider border to the specified color.
  • border_gradient_colors: (string) Creates a gradient on the slider's circular edge. Format: "#f05151;#4a90e2;#4a90e2"
  • thumb_size: (dimension) Radius of the slider thumb (thumb is the slider's movable part).
  • thumb_image: (reference) Set this to use an image instead of a colored circle for the slider thumb.
  • thumb_color: (color) Set this to use a colored circle instead of an image for the slider thumb.

Note that thumb color and thumb image are mutually exclusive, you can't use both.

Support

If you've found an error while using the library, please file an issue. All patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub. Some more help can be found here:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].