Skip to content

Commit

Permalink
Refactor and delete unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
majorkik committed Aug 16, 2019
1 parent fd152a8 commit ee2689d
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 199 deletions.
21 changes: 9 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
<img src="screenshots/Main image.png">
</p>

[![Platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Platform](https://img.shields.io/badge/platform-Android-brightgreen.svg)](https://www.android.com)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-SparkLineLayout-yellow.svg?style=flat)](https://android-arsenal.com/details/1/7825)
[![Release](https://img.shields.io/github/release/majorkik/SparkLineLayout.svg?style=flat)](https://jitpack.io/#majorkik/SparkLineLayout)
[![License: MIT](https://img.shields.io/badge/License-MIT-orange.svg)](https://opensource.org/licenses/MIT)

# SparkLineLayout

## Usage
Just add the following dependency in your app's `build.gradle`
```groovy
dependencies {
implementation 'com.github.majorkik:SparkLineLayout:1.0.0'
implementation 'com.github.majorkik:SparkLineLayout:1.0.1'
}
```
## XML
Expand Down Expand Up @@ -54,17 +56,12 @@ s_marker_border_size | Sets the stroke thickness.
s_marker_circle_style | Switches marker mode to round. The default **false**, and the marker is square.

## Examples
<p align="center">
<img src="screenshots/Examples 1 Curvature.png"><br>
</p>

<p align="center">
<img src="screenshots/Examples 2 Markers.png"><br>
</p>
<img src="screenshots/Examples 1 Curvature.png">

<p align="center">
<img src="screenshots/Examples 3 Split-lines.png">
</p>
<img src="screenshots/Examples 2 Markers.png">

<img src="screenshots/Examples 3 Split-lines.png">

# License

Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(':sparklinelibrary')
// implementation 'com.github.majorkik:SparkLineLayout:0.0.1'
//implementation 'com.github.majorkik:SparkLineLayout:1.0.0'
}

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.majorik.sparklinelayout
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.SeekBar
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
Expand Down
Loading

0 comments on commit ee2689d

Please sign in to comment.