Questions tagged [android-seek]

14 questions
7
votes
1 answer

UI getting stuck when softkeyboard shown while mediaplayer playing?

I have a mediaplayer in my app with a seekbar and two text views at both the ends of seekbar which works as timer and I will be playing .wav files in this player. I also have an editext in the same activity which I need to edit while the playing is…
4
votes
2 answers

Android program for zoom in and out with help of seekbar?

I want to zoom in and zoom out an image with respect to motion of the seek bar! ! can anyone help me to do this please your prompt response 'll be highly appreciated ! ! !
Mohan Raj
  • 590
  • 3
  • 8
  • 22
3
votes
2 answers

how to set a seekbars progress with a decimal value that is a float, accuratly?

hey guys i am trying to make a set temperature app which has a seek bar and a textview. the readings of my temperature include values like 33.3 and 34.5. I know the code fore setting a seekbars progress is seekbarTemperature.setProgress(int); but i…
user2608169
  • 145
  • 3
  • 13
2
votes
3 answers

How to get the height of the SeekBar progress drawable

I have a SeekBar defined in my application as shown below: I want to place an image beside it that is the same height of the…
DMC
  • 1,184
  • 5
  • 21
  • 50
1
vote
1 answer

SeekBar not showing complete "thumb icon" if "height" set to 2dp OR below "wrap_content"

In my app, I'm using SeekBar with custom "thumb icon" and custom "color". As per the requirement, I set it's height to 2dp, but in this case SeekBar not showing complete "thumb icon" and when I set it's height to "wrap_content", it shows complete…
Dnyanesh M
  • 1,349
  • 4
  • 18
  • 46
1
vote
3 answers

How can l draw progress drawable in seekbar in android

If I set draw "progress drawable" in SeekBar I get bgdraw in all progress line. How can I set draw from start to thumb position?
user2542715
  • 185
  • 2
  • 4
  • 10
1
vote
0 answers

Why does SeekBar customization work on 4.1 but not on 4.2 and 4.3?

I've created a custom seekbar and it works perfect for 4.1 devices, but on 4.2 and 4.3 devices it does not show my background, it just leaves it blank. This is what I…
dumazy
  • 13,857
  • 12
  • 66
  • 113
1
vote
0 answers

Android SeekBar disappears when thumb is pressed

I have created a custom seekBar where a new thumb is drawn as the slider is moved. I now want the thumb to show an enlarged thumb if it is pressed and then the original size is shown when the user takes their finger off the thumb.So if a user…
DMC
  • 1,184
  • 5
  • 21
  • 50
1
vote
0 answers

Custom text above SeekBar

I am trying to draw some text above the thumb of the SeekBar like in the image above. The idea is that when you move the thumb along the SeekBar text is displayed above the thumb. I am able to draw text inside the thumb but when I try and draw it…
DMC
  • 1,184
  • 5
  • 21
  • 50
0
votes
0 answers

How to play a webm video at a seek position in android?

Here's my code where I play a video provided in link but on clicking at a particular time-point, it starts again to 0 position. I want to play the video from any selected position by user. I am using a webm video stored at the given link below. The…
kaumsof
  • 1
  • 1
0
votes
1 answer

Passing data to a service in Android

I'm trying to create a Service that will play a music in the background in Android. But I get an NPE while the service is starting. Could anyone tell me what I'm doing wrong? Log cat: 12-28 12:07:19.602: W/System.err(3768):…
Darko Petkovski
  • 3,892
  • 13
  • 53
  • 117
0
votes
2 answers

Seekbar for accounting transaction.

Hey I am making an official purpose app which conclude business transaction. I want a Bar or SeekBar view which shows Income or Expense of company like this Red for if expense Exceeds Green for if Income Gained Hopefully We have this type of…
0
votes
2 answers

prevent seekbar click in Android

I am using a seekbar. and I want to control it only by moving the thumb. How can I disable the click on the progressdrawable? I tried android:clickable="false" but it didn't work. my seek Bar code in XML
Srikanth Pai
  • 926
  • 3
  • 17
  • 30
0
votes
2 answers

How to create separate seekBar class

Following the instructions here: How to make custom seek bar in android? I was able to make my own custom seekbar that draws text inside the thumb. I know want to create my own seekbar class so that I can call it from my activity. I'm running into…
DMC
  • 1,184
  • 5
  • 21
  • 50