# Timeline-View
**Repository Path**: forwardxao/Timeline-View
## Basic Information
- **Project Name**: Timeline-View
- **Description**: Android Timeline View is used to display views like Tracking of shipment/order, steppers etc.
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-01-14
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Timeline-View
Android Timeline View Library (Using RecyclerView) is simple implementation used to display view like Tracking of shipment/order, steppers etc.
### Specs
[](https://bintray.com/vipulasri/maven/TimelineView/_latestVersion)
[](http://www.methodscount.com/?lib=com.github.vipulasri%3Atimelineview%3A1.0.6)
[](https://github.com/vipulasri/Timeline-View/blob/master/LICENSE)
### Badges/Featured In
[](http://android-arsenal.com/details/1/2923)
[](https://androidweekly.net/issues/issue-395)
[](https://www.androiddevdigest.com/digest-126/)

## Sample Project
For information : checkout [Example Screen Code](https://github.com/vipulasri/Timeline-View/tree/master/app/src/main/java/com/github/vipulasri/timelineview/sample/example) in repository.
### Download
[](https://play.google.com/store/apps/details?id=com.github.vipulasri.timelineview.sample)
## Quick Setup
### 1. Include library
**Using Gradle**
``` gradle
dependencies {
implementation 'com.github.vipulasri:timelineview:1.1.3'
}
```
### What's New
See the project's Releases page for a list of versions with their change logs.
### [View Releases](https://github.com/vipulasri/Timeline-View/releases)
If you Watch this repository, GitHub will send you an email every time I publish an update.
### 2. Usage
* In XML Layout :
``` java
| Attribute Name | Default Value | Description |
|---|---|---|
| app:marker="@drawable/marker" | Green Colored Oval Drawable | sets marker drawable |
| app:markerSize="25dp" | 25dp | sets marker size |
| app:markerInCenter="false" | true | sets the marker in center of line if `true` |
| app:markerPaddingLeft="0dp" | 0dp | sets the marker left padding, applicable only with horizontal orientation |
| app:markerPaddingTop="0dp" | 0dp | sets the marker top padding, applicable only with vertical orientation |
| app:markerPaddingRight="0dp" | 0dp | sets the marker right padding, applicable only with horizontal orientation |
| app:markerPaddingBottom="0dp" | 0dp | sets the marker bottom padding, applicable only with vertical orientation |
| app:startLineColor="@color/primarColor" | Dark Grey Line | sets start line color |
| app:endLineColor="@color/primarColor" | Dark Grey Line | sets end line color |
| app:lineWidth="2dp" | 2dp | sets line width |
| app:lineOrientation="horizontal" | vertical | sets orientation of line ie `horizontal` or `vertical` |
| app:linePadding="5dp" | 0dp | sets line padding around marker |
| app:lineStyle="dash" | normal | sets line style ie `normal` or `dashed` |
| app:lineStyleDashGap="4dp" | 4dp | sets line dash gap |
| app:lineStyleDashLength="8dp" | 8dp | sets line dash length |