From 86ecb87afa1712b545574ced7075746230baacab Mon Sep 17 00:00:00 2001 From: Fawwaz Yusran Date: Sun, 8 Oct 2017 10:53:42 +0700 Subject: [PATCH] Improve readme --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d2532d9..d265c17 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ ![Example image](./image1.png) ![Example image](./image2.png) -## Usage +## Installation -**Gradle** +Add to your *build.gradle* files: ```gradle compile 'com.anton46:stepsview:0.0.2' -```` -**Maven** +``` +#### Maven ```xml com.anton46 @@ -17,7 +17,7 @@ compile 'com.anton46:stepsview:0.0.2' 0.0.2 ``` - +## Include StepsView in your layout ```xml -``` - +``` +## Display steps +All available options with default values: ```java mStepsView.setLabels(steps) .setBarColorIndicator(getContext().getResources().getColor(R.color.material_blue_grey_800)) @@ -35,7 +36,6 @@ mStepsView.setLabels(steps) .setCompletedPosition(0) .drawView(); ``` - Developed by ========================