Android Open Source - lamp Horizontal Seek Bar

From Project

Back to project page lamp.


The source code is released under:

GNU General Public License

If you think the Android project lamp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package cz.tomsuch.lampicka.util;
/*from w  w w.  j  a  va2  s. c  o m*/
import android.content.Context;
import android.util.AttributeSet;
import cz.tomsuch.lampicka.abstracts.CustomSeekBar;

public class HorizontalSeekBar extends CustomSeekBar {

  public HorizontalSeekBar(Context context) {

  public HorizontalSeekBar(Context context, AttributeSet attrs, int defStyle) {
    super(context, attrs, defStyle);

  public HorizontalSeekBar(Context context, AttributeSet attrs) {
    super(context, attrs);

  public synchronized void setProgressAndThumb(int progress) {
    setProgress(getMax() - (getMax() - progress));
    onSizeChanged(getWidth(), getHeight(), 0, 0);


Java Source Code List