Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhashim6/android-separatorview
A SeparatorView for Android
https://github.com/mhashim6/android-separatorview
android kotlin library line separator
Last synced: 2 months ago
JSON representation
A SeparatorView for Android
- Host: GitHub
- URL: https://github.com/mhashim6/android-separatorview
- Owner: mhashim6
- License: mit
- Created: 2018-10-11T15:37:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-31T12:50:27.000Z (over 2 years ago)
- Last Synced: 2024-05-02T04:19:22.526Z (9 months ago)
- Topics: android, kotlin, library, line, separator
- Language: Kotlin
- Size: 60.5 KB
- Stars: 56
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# SeparatorView
>A simple view that can be used as separator between any two views, with customize-able styles.
# Attributes:
| attribute | value | documentation | default value |
|-------------------|-------------------------|--------------------------------------------------------------------|---------------|
| `app:lineStyle` | [solid, dashed, dotted] | defines how the line should appear. | solid |
| `app:lineColor` | [color] | defines the color of the line. | black |
| `app:dashWidth` | [dimension] | defines the width of the dashes. | 15px |
| `app:dashGap` | [dimension] | defines the width of the gaps between the dashes. | 10px |
| `app:orientation` | [horizontal,vertical] | defines whether the line should appear vertically or horizontally. | horizontal |
---
# Apps using this library:- [Put Back: The laid back reminder](https://play.google.com/store/apps/details?id=mhashim6.android.putback)
## Dependency:
[![](https://jitpack.io/v/mhashim6/SeparatorView.svg)](https://jitpack.io/#mhashim6/SeparatorView)Add it in your root build.gradle at the end of repositories:
```groovy
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Add the dependency:
```groovy
dependencies {
implementation 'com.github.mhashim6:SeparatorView:1.1'
}
```