Skip to content

Commit

Permalink
Releasing version 1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevalpatel2106 committed Apr 1, 2018
1 parent d60e75b commit 059b2a7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@

[![Build Status](https://travis-ci.org/kevalpatel2106/android-ruler-view.svg?branch=master)](https://travis-ci.org/kevalpatel2106/android-ruler-view) [![API](https://img.shields.io/badge/API-14%2B-orange.svg?style=flat)](https://android-arsenal.com/api?level=14) <a href="https://www.paypal.me/kevalpatel2106"> <img src="https://img.shields.io/badge/paypal-donate-yellow.svg" /></a> [![Javadoc](https://img.shields.io/badge/JavaDoc-master-brightgreen.svg?style=orange)](http://kevalpatel2106.com/android-ruler-picker/)

#### Android custom view that uses ruler for picking the number from given range.

## Features:
- Easy to integrate. All you have to do is add the view into your XML and listen for the value changes.
- Highly customizable. Change width, height, color, distance between indicators. Change the color and sze of the texts in the ruler in XML or dynamically from your java or kotlin code.
- Extremely lightweight 🏋.

## How to use this library?
- ### Gradle dependency:
- Add below dependency into your build.gradle file.
- Add below dependency into your build.gradle file.
```groovy
compile 'com.kevalpatel2106:ruler-picker:1.0'
```
- For other build systems see [Import.md](/.github/IMPORT.md).
- For other build systems see [Import.md](/.github/IMPORT.md).

## How to use?
- Add `RulerValuePicker` inside your XML layout.
```xml
<com.kevalpatel2106.rulerpicker.RulerValuePicker
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
5 changes: 2 additions & 3 deletions ruler-picker/bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if (project.rootProject.file('local.properties').exists()) {
packaging 'aar' //AAR format

// Add your description here
name 'android-ruler-picker' //Name of the repo
name 'ruler-picker' //Name of the repo
description = ''
url siteUrl

Expand Down Expand Up @@ -92,8 +92,7 @@ if (project.rootProject.file('local.properties').exists()) {
pkg {
repo = "maven"

// it is the name that appears in bintray when logged
name = "android-ruler-picker" //Name of the artifact [Group Id]:[name]:[version]
name = 'ruler-picker' //Name of the repo
websiteUrl = siteUrl
vcsUrl = gitUrl
licenses = ["Apache-2.0"]
Expand Down
1 change: 1 addition & 0 deletions ruler-picker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ android {
dependencies {
implementation 'com.android.support:appcompat-v7:27.1.0'
}
apply from: 'bintray.gradle'

0 comments on commit 059b2a7

Please sign in to comment.