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

Cannot make a static reference to the non-static method setOnTouchListener(View.OnTouchListener) from the type View

Scenario: I've created an app drawer and placed a seekbar within it. This app drawer is made from app_drawer.xml whilst my fragment below is made up from main_activity.xml. The issue I'm having is, although the seekbar shows up perfectly and the app…
user3356862
0
votes
0 answers

Seekbar progress changed but GLSurface view not affected

I am developing app in which i want to give brightness to my GLsurfaceView on progress changed of Seekbar. The progress changed but GLsurfaceView can't be effected means i can't increment or decrement brightness eventhough color are also not applied…
Piyush
  • 18,895
  • 5
  • 32
  • 63
0
votes
1 answer

Having issues with argb method with Android

I am trying to figure out how to use the argb method from http://developer.android.com/reference/android/graphics/Color.html. I've read through it multiple times and I still can't get this app to work. I'm trying to get the View widget to display…
user3399846
0
votes
1 answer

weird Looking seekbar in Android Tablets

I am working on an APP Which supports both phones and tablets. Phones it is working fine but when i run the same in 7" tablet the seekbar looks weird ... can anybody help me with this This the custom xml i have used to show the seekbar
Jeffy Lazar
  • 1,903
  • 13
  • 20
0
votes
2 answers

Android SeekBar don't go when audio playing

I've a problem with seek bar, when i play the audio with mediaplayer the seekbar don't start with it. i don't understand why the seekbar don't "refresh" progress. thank you for help. below i post the code, i don't understand when i…
Mr.Sem
  • 30
  • 4
0
votes
1 answer

Listview not displaying min and max values in Range seek bar

I wanted to create a seeker bar with 2 thumbs and a textview showing the min and max value. Therefore i refer to this tutorial https://code.google.com/p/range-seek-bar/#Example_usage_as_Integer_range?. However, during runtime, the textview does not…
lonelearner
  • 1,637
  • 4
  • 14
  • 22
0
votes
2 answers

Encounter Range-seek-bar runtime error in android

I have used this tutorial https://code.google.com/p/range-seek-bar/#Example_usage_as_Integer_range?. Encountered runtime error of my activity stopped. Would like to seek help from you. I attempted to correct the following compile errors as listed…
lonelearner
  • 1,637
  • 4
  • 14
  • 22
0
votes
0 answers

android seekbar how to control thickness and thumb size

How can i increase seekbar thickness? I would like to have this horizontal line very thick plus have thumb with much bigger circle. (holo.light) Do I really have to create my own drabawbles? I hoped that changing only some attributes would be…
user2707175
  • 1,133
  • 2
  • 17
  • 44
0
votes
1 answer

android UI many states switch

I need 4 states switch (with possibility to extend to more states). Standard Android Switch has only 2 (on/off). I wanted to use seekbar but it works terribly bad if I use ViewPager (two elements for sweeping - seekbar and viewpager). Any idea how…
0
votes
1 answer

Appearence of seekbar and spinner in activity layout android 4.1.2

My problem is the appearance of both seek bar and spinner inside Activity. I tested in Android 4.1.2. This is what I want to appear like : But when I tested it I'm getting like this: When I created both seekbar and spinner in menu, they…
IBunny
  • 309
  • 9
  • 20
0
votes
1 answer

How to add number scale inside android seekbar?

I'm trying with the custom seekbar inside have number scale, But is not working. This seekbar must support all screen resolutions. how can i make like this. Please give your valuable idea. My custom_seekbar.xml
Murali Ganesan
  • 2,925
  • 4
  • 20
  • 31
-1
votes
1 answer

Audio SeekBar issue in android studio

package com.example.va_embedding import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.view.View import android.widget.MediaController import android.widget.ProgressBar import…
-1
votes
1 answer

How to take input from SeekBar kotlin

I am working on an android app for a review app, I'm using seeker bars to get inputs from 1-7. I have copied code from the internet that seems to be the only solution but its throwing errors and I can't work out why. ''' private var textview…
lewis
  • 19
  • 3
-1
votes
1 answer

I need suggestion how can I achieve this kind of UI in android?

I want to design Seekbar like this:
user12365792
-1
votes
1 answer

customized seekBar

My goal is to get like this result in my SeekBar Here is a my code
BekaKK
  • 2,173
  • 6
  • 42
  • 80