Image Steps

Additional

Language
Java
Version
0.0.1 (Apr 22, 2017)
Created
Apr 21, 2017
Updated
Apr 22, 2017 (Retired)
Owner
Mohamed Mo'men (mmoamenn)
Contributor
Mohamed Mo'men (mmoamenn)
1
Activity
Badge
Generate
Download
Source code

Advertisement

Steps_Android

Is android component to show your steps in modern view.

Sample

Installation

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

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

Step 2. Add the dependency

dependencies {
     compile 'com.github.mmoamenn:Steps_Android:0.0.1'
 }

XML

<com.bluehomestudio.steps.CircleImageSteps android:id="@+id/cis_steps" android:layout_width="match_parent" android:layout_height="wrap_content" ImageStep:step_size="40dp"/>

You must use the following properties in your XML to adjust your steps raduis

  • ImageStep:step_size

and this to set active and in active step color

  • ImageStep:active_step_color
  • ImageStep:inActive_step_color

JAVA

Functions to use after reference CircleImageSteps

Function to add steps images you can add any number or images

  • addSteps(R.drawable.flag , R.drawable.fish , R.drawable.cooking , R.drawable.alarm , R.drawable.eat);

Function to highlight next or previous step

  • nextStep();
  • previousStep();