Last active
October 11, 2016 09:33
-
-
Save angebagui/f4efb3be1d1a35ef1b13cb33f57532fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stat.android.widget.view.Slider slider=(Slider)findViewById(R.id.mn_id); | |
List<String> paths=new ArrayList(){ | |
{ | |
add("/mon/image1.png"); | |
add("/mon/image2.png"); | |
add("/mon/image3.png"); | |
} | |
} | |
slider.setImagePhathList(paths); | |
slider.StartSliding() | |
slider.StopSliding() | |
slider.setMarging(int marging)//specifier une mage entre la bordure et l'image | |
slider.setSpeed(int speed)//l'acceleration du slide (yep, non pas parlant) | |
slider.setNextSpeed(int)//La vitessse a la quel il passe au prochain slide | |
slider.setAutoResizable(boolean)// si l'image sera adapté automatiquement a la surface ou pas | |
slider.setVelocity(int velos)// la vitesse initial du slide | |
slider.setLevel(int val)// la position du slide, si on veu le placé en un point précis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment