How To Implement An Android Delivery Tracker Using Android Studio
I want a similar progress bar tracker like shown in the pic below for an android delivery app. See this
Solution 1:
Try Timeline-View
In XML
<com.github.vipulasri.timelineview.TimelineView
android:id="@+id/time_marker"android:layout_width="wrap_content"android:layout_height="match_parent"app:markerSize="20dp"app:lineSize="2dp"app:line="@color/colorPrimary"app:linePadding="5dp"/>
RecyclerView Holder
publicclassTimeLineViewHolderextendsRecyclerView.ViewHolder {
public TimelineView mTimelineView;
publicTimeLineViewHolder(View itemView, int viewType) {
super(itemView);
mTimelineView = (TimelineView) itemView.findViewById(R.id.time_marker);
mTimelineView.initLine(viewType);
}
}
For full implementation look at this
Post a Comment for "How To Implement An Android Delivery Tracker Using Android Studio"