https://github.com/imanneo/dottedview
Drawing Dots in android
https://github.com/imanneo/dottedview
android circle customview dashview dot dot-base dot-sequence dottedview
Last synced: about 1 year ago
JSON representation
Drawing Dots in android
- Host: GitHub
- URL: https://github.com/imanneo/dottedview
- Owner: imaNNeo
- Created: 2017-09-11T06:06:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-20T05:54:35.000Z (almost 9 years ago)
- Last Synced: 2025-04-21T09:56:44.959Z (about 1 year ago)
- Topics: android, circle, customview, dashview, dot, dot-base, dot-sequence, dottedview
- Language: Java
- Homepage:
- Size: 172 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DottedView
We can draw dash lines in android in simple way,
but i didn't find simple way to create Dotted Like.
By this library you can make everything you want with Dots.
## 1 - Getting Started
By this instructions you can add this library and i will explain how use it.

### Add Maven to your root build.gradle
First of all Add it in your root build.gradle at the end of repositories:
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
### Add Dependency
Add the dependency to your app build.gradle file
```
dependencies
{
compile 'com.github.imaNNeoFighT:DottedView:-SNAPSHOT'
}
```
And then sync your gradle and take a tea.
## 2 - About The View
You can simply use this View like other Views in android,
just add ``DottedView`` in your java code or xml.
## View Properties
you can use this properties for make everything you want,
and all af them is arbitary.
* `dv_dotColor`
by this property you can specify the color of Dots, default value is `#107cff`
* `dv_dotSize`
by this property you can specify the size of Dots, default value is `15dp`
* `dv_dotHSpace`
by this property you can specify Horizontal space of Dots, default value is `10dp`
* `dv_dotVSpace`
by this property you can specify Vertical space of Dots, default value is `10dp`
* `dv_dotStrokeColor`
by this property you can specify Stroke Color of Dots, default value is `#cc1a52`
* `dv_dotStrokeWidth`
by this property you can specify Stroke Size of Dots, default value is `1dp`
## 3 - Use in Code
### Sample 1
```
```
you will see this output

### Sample 2
```
```
you will see this output

### Sample 3
```
```
you will see this output

### Sample 4
```
```
you will see this output
