Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'
}
```