Repsly/TimelineView


Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.repsly:timelineview:1.3'
	}
	dependencies {
		implementation("com.github.repsly:timelineview:1.3")
	}
	<dependency>
	    <groupId>com.github.repsly</groupId>
	    <artifactId>timelineview</artifactId>
	    <version>1.3</version>
	</dependency>

                            
    libraryDependencies += "com.github.repsly" % "timelineview" % "1.3"
        
        

                            
    :dependencies [[com.github.repsly/timelineview "1.3"]]
        
        

Readme


This is a fork of TimelineView for Repsly app.

TimelineView

Library used to mark timeline items in list. It can be used for processes that take multiple steps like tracking online orders. Support for both horizontal and vertical lists and a lot of customization options as shown in example below:

    <com.repsly.library.timelineview.TimelineView
        android:id="@+id/timeline"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        app:lineColor="@color/colorPrimary"
        app:lineOrientation="vertical"
        app:lineSize="4dp"
        app:markerActive="false"
        app:markerActiveColor="@color/colorActiveItem"
        app:markerActiveStrokeWidth="8dp"
        app:markerColor="@color/colorPrimary"
        app:markerSize="20dp"
        app:markerStrokeWidth="2dp"
        app:markerTextColor="@android:color/white"
        app:markerTextSize="10sp"/>

For more examples check sample app.

Screens

Installation

Add jitpack to root gradle

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Add the dependency

compile 'com.github.repsly:TimelineView:v1.2'