Questions tagged [seekbar]

Seek bar is a UI control analogous to a slider. In Android, it is an extension of ProgressBar with a draggable thumb.

1358 questions
-1
votes
1 answer

Android seekbar goes out of its track towards the end

I am having an issue with a kind of custom seekbar What I have done is created a new object that extends SeekBar. Then in onSizeChanged function, I am calculating the width, and setting it up, and the pass that size on to super.onSizeChanged()…
user1063108
  • 662
  • 1
  • 10
  • 24
-1
votes
1 answer

Trouble with custom seekBar android

i have a trouble with custom seekBar .I used http://android-holo-colors.com/ to give images of seekBar .The problem is a vague beginning of seekBar . How can i solve this problem?! ScreenShot: this code (i check , images are the same as the…
vkrott
  • 69
  • 2
  • 13
-1
votes
1 answer

Seekbar present or not in titanium

Hi I am searching for the seek bar in titanium just like android,But i have not come across such thing in documentation.Actually i want to change the value manually.I have seen progress bar but not seekbar.Can any body tell does titanium has…
Wahhab_Mirza
  • 63
  • 1
  • 7
-1
votes
2 answers

android arrays, strings, ints, lists, views and complete confusion

app have 16 seekbars and app want to be able to save all their values into a new array and reference/add the array in a spinner (item). then app want to be able to select one of these arrays from the spinner and set the seekbars progress from it…
Bob Nodger
  • 11
  • 4
-2
votes
1 answer

I have again a NullPointerException from seekbar in android

Why do I have a NullPointerException here? I checked my code for 5 times... When I install my app on my Galaxy S it works. But when I rebuild it without changing the code it crashes. Could you explain me why? Thanks in…
Marco Seiz
  • 944
  • 5
  • 19
  • 40
-2
votes
1 answer

Seekbar With Custom Thumb And Interval Text Android

I want to achieve like this image. Please help
sum20156
  • 646
  • 1
  • 7
  • 19
-2
votes
1 answer

Attempt to invoke virtual method 'int android.widget.SeekBar.getProgress()' on a null object reference

I am building an Android application using Android Studio. I got an error of "Attempt to invoke virtual method 'int android.widget.SeekBar.getProgress()' on a null object reference". The application works well in the interface which i can see the…
Mouris
  • 67
  • 1
  • 8
-2
votes
1 answer

seekbar's background picture showed twice

Progress bar display twice. My XML code: Style : How do I solve this problem?
-2
votes
1 answer

Changing textview's value using 2 seekbar

I have 2 seekbars for setting up a timer one for hours and 1 for minutes. I want to show the total duration of the timer by getting the progress of the 2 seekbar and inserting it in 1 textview with a hh:mm format without using any button. here are…
jnrx gaming
  • 93
  • 1
  • 1
  • 8
-2
votes
2 answers

UI hasn't alloc yet

I write it in oncreateView of Fragment. But this control hasn't alloc yet so I can't getWidth of it. Help me plzzz. Can I set it in which method (onresume, onstart...)? seekbar1 = (SeekBar)view.findViewById(R.id.sbBar); if…
-2
votes
3 answers

Adapt to Integrer value

i'm developing an BMI calculator and i'm having some troubles eith formats on an EditText The following code i an adaptantion from another seekbar which has a float value. But this new one has an int value. Could someone tell me what should i change…
André Ferreira
  • 185
  • 1
  • 3
  • 16
-2
votes
1 answer

Range SeekBar With Two Thumbs Not Working

I am using RangeSeekBar in my app by referring this RangeSeekBar. I have two issues with this seekbar. And i am using this seekbar in a fragment. 1) I am able to see the seekbar in my emulator with android api 19 configuration. But on Touch events…
ydnas
  • 519
  • 1
  • 12
  • 29
-3
votes
2 answers

App is crashing when clicking button

I was trying to do this music player app. I've created a relative layout for each position in a 2x2 grid layout, and inside each relative layout, I put one seekbar and one button. For each button I'd like to play a different music, and the seekbar…
-3
votes
1 answer

How to make a vertical range seekbar?

I have a application which needs a vertical range seekbar which has two thumbs for adjusting the position.I have no idea how to make a one. Please help me out.. Similar to this seekbar.
Ravi Parmar
  • 968
  • 11
  • 28
-3
votes
1 answer

How create seekbar like on picture?

How create a seekbar like the one shown in the picture?
1 2 3
90
91