All Projects → enginebai → Swagpoints

enginebai / Swagpoints

Licence: apache-2.0
An Android custom circular SeekBar that supports max/min range and step settings.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Swagpoints

Colorseekbar
A colorful SeekBar for picking color
Stars: ✭ 249 (-17%)
Mutual labels:  custom-view, seekbar
Croller
A circular seekbar for Android, with a control knob! (for the lack of a better word).
Stars: ✭ 1,088 (+262.67%)
Mutual labels:  custom-view, seekbar
Easysignseekbar
本库主要提供一个漂亮而强大的自定义SeekBar,进度变化由提示牌 (sign)展示,具有强大的属性设置,支持设置section(节点)、mark(标记)、track(轨迹)、thumb(拖动块)、progress(进度)、sign(提示框)等功能
Stars: ✭ 629 (+109.67%)
Mutual labels:  custom-view, seekbar
Bezierseekbar
Beautiful custom View, SeekBar selector, easy to use, and rich in customization.漂亮的区间选择器,贝塞尔曲线优雅实现
Stars: ✭ 252 (-16%)
Mutual labels:  custom-view, seekbar
Rxanime
Visualizer to understand RxJava operators
Stars: ✭ 261 (-13%)
Mutual labels:  custom-view
WaveView
Simple Android library to draw sinusoidal waves.
Stars: ✭ 43 (-85.67%)
Mutual labels:  custom-view
MutativeFab
This is animating floating action button with text
Stars: ✭ 54 (-82%)
Mutual labels:  custom-view
CustomFormViews
A clean collection of views used for forms.
Stars: ✭ 12 (-96%)
Mutual labels:  custom-view
Effectiveshapeview
android custom imageview, effective shape view
Stars: ✭ 291 (-3%)
Mutual labels:  custom-view
Tickview
一个精致带感的打钩小动画
Stars: ✭ 284 (-5.33%)
Mutual labels:  custom-view
Tableview
TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
Stars: ✭ 2,928 (+876%)
Mutual labels:  custom-view
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-90%)
Mutual labels:  custom-view
Funnyviews
💘A lot of funny & custom views for android, will continue to update.
Stars: ✭ 267 (-11%)
Mutual labels:  custom-view
PassCodeText
A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customizability.
Stars: ✭ 105 (-65%)
Mutual labels:  custom-view
Linkedideas
A macOS/iOS apps to treat ideas as links of concepts.
Stars: ✭ 286 (-4.67%)
Mutual labels:  custom-view
android-tableview-kotlin
Android's missing TableView component.
Stars: ✭ 40 (-86.67%)
Mutual labels:  custom-view
DraggableTreeView
TreeView with drag and drop (n-th level)
Stars: ✭ 95 (-68.33%)
Mutual labels:  custom-view
Bubbleseekbar
A beautiful Android custom seekbar, which has a bubble view with progress appearing upon when seeking. 自定义SeekBar,进度变化更以可视化气泡样式呈现
Stars: ✭ 3,036 (+912%)
Mutual labels:  seekbar
CustomViewStudy
This repository is used to learn CustomView(Text、Image、Progress、ViewGroup、ViewGragHelper).
Stars: ✭ 76 (-74.67%)
Mutual labels:  custom-view
auto-fill-edit-text
This custom EditText can suggest and fill text defined before.
Stars: ✭ 26 (-91.33%)
Mutual labels:  custom-view

SwagPoints

License Download

SwagPoints - An Android custom circular SeekBar that supports max/min range and step settings.

SwagPoints

Gradle

dependencies {
	...
	compile 'com.dualcores.swagpoints:swagpoints:1.0.2'
}

Usage

  • In XML layout:
<com.dualcores.swagpoints.SwagPoints
    xmlns:swagpoints="http://schemas.android.com/apk/res-auto"
    android:id="@+id/seekbar_point"
    android:layout_width="match_parent"
    android:layout_height="340dp"
    android:layout_gravity="center"
    android:padding="64dp"
    swagpoints:min="100"
    swagpoints:max="1000"
    swagpoints:step="100"
    swagpoints:progressColor="@color/color_progress"
    swagpoints:progressWidth="12dp"
    swagpoints:arcColor="@color/color_arc"
    swagpoints:arcWidth="8dp"
    swagpoints:textSize="72sp"
    swagpoints:textColor="@color/colorText"
    swagpoints:indicatorIcon="@drawable/indicator"
    />

Remember to add layout_padding to make sure that there is enough space to display the whole widget and indicator drawable.

If you don't add any layout_padding, the arc will extend the whole width/height, and the indicator drawable will be truncated (as below diagram).

  • All customizable attributes:
<declare-styleable name="SwagPoints">
    <attr name="points" format="integer" />
    <attr name="max" format="integer" />
    <attr name="min" format="integer"/>
    <attr name="step" format="integer"/>
    <attr name="indicatorIcon" format="reference" />
    <attr name="progressWidth" format="dimension" />
    <attr name="progressColor" format="color" />
    <attr name="arcWidth" format="dimension" />
    <attr name="arcColor" format="color" />
    <attr name="textSize" format="dimension"/>
    <attr name="textColor" format="color"/>
    <attr name="clockwise" format="boolean" />
    <attr name="enabled" format="boolean" />
</declare-styleable>

Sample

  • Clone the repository and check out the app module.
  • Download the app Swag – Exchange Personal Snaps on Google Play. This widget is used in the send point dialog.

Licence

Copyright 2016 Engine Bai

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.

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].