Norway


A simple library for using steps with images and animation

-  - The Android Arsenal – Wizards

Instalation

  • Dependencie
    compile 'com.github.denisviana:Image-Steps:1.0.0'
  • xml
<io.github.denisviana.imagestep.ImageSteps
        :background="#913D88"
        :id="@+id/imageSteps"
        :layout_width="match_parent"
        :layout_height="150dp"
        app:default_color="#fff"/>
  • kotlin
    Add the image resource ids. The number of ids added represents the number of steps in the view. The order of the IDs added, represents the order of the steps in View
imageSteps.addSteps(
  R.drawable.ic_welcome,
  R.drawable.icon_users,
  R.drawable.ic_check)

The view contains two methods for moving the steps
imageSteps.nextStep()
imageSteps.previousStep()

Authors



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here