Questions tagged [android-seekbar]

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys.

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys.

Placing focusable widgets to the left or right of a SeekBar is discouraged.

Clients of the SeekBar can attach a SeekBar.OnSeekBarChangeListener to be notified of the user's actions.

Reference: http://developer.android.com/reference/android/widget/SeekBar.html

659 questions
0
votes
2 answers

Rating Bar not changing

SO the app I am writing has two(so far) seekbars that are in a Fragment. The rating bar is in the Main layout file. What I need to happen is the Rating Bar progress to change based on the values of the SeekBars. Here is the code, so you have a…
0
votes
0 answers

Textview over seekbar android

I want to make a TextView over the seekbar and run into when I change value but not success. When i'm in value = 0, it's right but when i change value, it's wrong. THanks. /////////////////////................................. float val = (progress…
0
votes
0 answers

Android SeekBar changes itself progress and max randomly

I have a SeekBar that I added inside my fragment: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState){ View view = inflater.inflate(R.layout.my_fragment, container, false); seekbar1 =…
JamMaster
  • 1,446
  • 1
  • 14
  • 24
0
votes
1 answer

Multiple vertical seekbar

I want to implement 3 vertical SeekBar in a page so that it looks like a bar chart. When user drags any one of the SeekBar the value corresponding to the y axis should be retrieved for that. Other SeekBar should remain in their original state. Our…
Ramya
  • 1
  • 2
0
votes
2 answers

Using seekbar with music in android

I am actually creating an app with a button, a seekbar and an an image. The button is used to Play/Pause the music. the music played smooth before adding the seekbar. But, after writing the code for seekbar to progress with the position of music,…
0
votes
1 answer

Thumb size reduces on SeekBar after writing text at run time

I had implemented a custom SeekBar and set custom thumb image to that. When ever progress changes, I am displaying it on the thumb. Initially, it is being displayed correctly. When I slide it forward, backward, the thumb size is getting…
Kameswari
  • 738
  • 7
  • 27
0
votes
2 answers

Accessing Fragment's seekBar value from Activity

I have an Activity (MainActivity) which extends to Activity and a related Fragment (FragmentFive) There is a seekbar placed in Fragment whose value I want to access from MainActivity. How to do it? API level 18 or above only. MainActivity has a…
0
votes
1 answer

How can I adjust the seekbar placed at the end?

Usually when an android app run the seekbar placed at the start. I want to when my app run the seekbar placed at the end, not in the start. How can I do this? Thank you. Ho
Hans Pour
  • 432
  • 6
  • 15
0
votes
1 answer

Properly set SeekBar style for Holo and pre-Holo APIs

After setting SeekBar with Holo style, I got warning that it's not supported pre-Holo APIs. If I leave it this way, will this crash the app or pull pre-Holo style anyway? It does not crash on the emulator and I don't have 2.3.3 device. The reason…
sandalone
  • 41,141
  • 63
  • 222
  • 338
0
votes
0 answers

SeekBar block tapping when previous event is not moving

I wrote a solution for it, it's working perfect but i think that is not the best solution... private volatile boolean sweepEvent; @Override public boolean onTouchEvent(MotionEvent event) { if (MotionEvent.ACTION_UP == event.getAction() &&…
luckybastard
  • 157
  • 1
  • 3
  • 12
0
votes
1 answer

Set a progress from a SeekBar

I have this seekbar and this TextView in which I want to show the actual progress of the seekbar. The actual XML for the textview:
Lampione
  • 1,622
  • 3
  • 21
  • 39
0
votes
1 answer

performaction ACTION_SET_SELECTION not working properly

I am new at working with the accessibility library of android i have a lot of troubles. But there is one i think is not my fault: I want to use the accessibilitynodeinfo to start a seekbar from the…
user3399757
  • 13
  • 1
  • 4
0
votes
1 answer

Cant' Hide Image View With a SeekBar OnprogressChanged

This is my fragment public class HomeFragment extends Fragment implements LocationListener{ private GoogleMap map; View rootView; public Global global; private Marker ubicacionActual; private Marker destino; private SeekBar tipoTaxi; private…
0
votes
1 answer

Check if seekbar value is null or empty

I am trying to check if the seekbar has value less than 0. Currently my seekbar has value between 0-9. seekbar1 = (SeekBar)findViewById(R.id.sb); seekbar1.setOnSeekBarChangeListener( new OnSeekBarChangeListener(){ @Override public void…
artist
  • 6,271
  • 8
  • 25
  • 35
0
votes
1 answer

Android: How to get seekbar to work while music is playing?

I have looked everywhere to fix my problem but i just cant seem to get it going. How do i make seekbar automatically slide with song play ? this is what i have so far. ArrayList arrlist = new ArrayList(20); private Handler…
user3439273
  • 125
  • 1
  • 2
  • 12