MaterialTimelineView
With MaterialTimelineView you can easily create a material looking timeline.
Setup
The library is pushed to jCenter() as an AAR,
so you just need to add the following to your build.gradle file:
Usage
MaterialTimelineView extends from ConstraintLayout, so it has all of its possibilities.
A sample of simple recycler view that demonstrates usage of library
In your xml layout add:
or programatically:
Timeline types overview
Attributes | Screen |
---|---|
app:timeline_type="item" app:timeline_position="first" |
![]() |
app:timeline_type="item" app:timeline_position="middle" |
![]() |
app:timeline_type="item" app:timeline_position="last" |
![]() |
app:timeline_type="line" app:timeline_position="first" |
![]() |
app:timeline_type="line" app:timeline_position="middle" |
![]() |
app:timeline_type="line" app:timeline_position="last" |
![]() |