android Programming Glossary: oprogress
How can I get a working vertical SeekBar in Android? http://stackoverflow.com/questions/4892179/how-can-i-get-a-working-vertical-seekbar-in-android example public boolean onTouchEvent MotionEvent event xPos event.getX yPos event.getY oOffset this.getThumbOffset oProgress this.getProgress Code from example Not working this.setThumbOffset progress this.getBottom this.getTop this.setProgress..
Modifying the Android seekbar widget to operate vertically http://stackoverflow.com/questions/631238/modifying-the-android-seekbar-widget-to-operate-vertically import android.widget.SeekBar public class SlideBar extends SeekBar private int oHeight 320 oWidth 29 private int oProgress 1 oOffset 1 private float xPos 1 yPos 1 private int top 1 bottom 1 left 1 right 1 public SlideBar Context context super.. super context public SlideBar Context context AttributeSet attrs super context attrs oOffset this.getThumbOffset oProgress this.getProgress public SlideBar Context context AttributeSet attrs int defStyle super context attrs defStyle protected.. event.getX yPos event.getY float progress yPos this.getTop this.getBottom this.getTop oOffset this.getThumbOffset oProgress this.getProgress Log.d offset System.nanoTime new Integer oOffset .toString Log.d progress System.nanoTime new Integer..
|