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.

android-seekbar
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

How to use seek bar thumb override view on Android kotlin

I want to create a verticalSeekbar and a custom view to overlap the searchbar thumb. Because in my customview there will be many things, but in the code below I have omitted some items and I have ...
1 vote
0 answers
59 views

It is possible to position a slider on a discrete seekBar on continious values in Android

I have the following seekBar in Android with 5 discrete values: <SeekBar android:id="@+id/seekBar_Sweetness" style="@style/Widget.AppCompat.SeekBar.Discrete" android:...
1 vote
3 answers
916 views

Seekbar thumb with transparent right and left padding/margin

Summarize the problem: Hello, I want to create Seekbar like this one in the design: So the thumb has something like padding/margin at left and right and bars are rounded on both sides. What I've ...
0 votes
0 answers
37 views

How to keep the seek bar persistent even after back button is pressed and re opened player activity

i am trying to create a music app. the seek bar in the media player is not working if i pressed back button and reopen the activity again. could anybody help me to solve this problem? here is My play ...
0 votes
0 answers
25 views

How can I find out the SeekBar's onStartTrackingTouch provided by default in PlayerNotificationManager?

I'm currently creating a function to track the playback and end times of a video. The Custom SeekBar of a app can get the Player's currentPosition by overriding onStartTrackingTouch before moving. But ...
0 votes
0 answers
140 views

Seek method of just_audio is not working in Flutter

I have Implemented audio player in my application using just_audio library. currently I'm facing the problem that is I have put one slider to seek audio and play at specific time duration, So when try ...
0 votes
1 answer
832 views

Accessing a view from a service

So basically, i got a list view that shows a list of bands. When i press on one of the bands in the list, it creates a band profile page via an adapter. In this layout, i got a play button, which ...
0 votes
0 answers
16 views

How to indicate the all the step values below seekbar in android

I want a seekbar with discrete value indication like below I do not want to use any third part library. Is there any way to display this with the AppCompatSeekbar.
-2 votes
1 answer
93 views

Android how to make a SeekBar thicker?

Before you post links to stackoverflow answers, please note that I've likely already tried it. I work with android studio and kotlin. custom_lvlmeter_channel.xml is just 1 vertical seekbar inside a ...
0 votes
0 answers
82 views

Android : How to change the seekbar tick mark color after the progress

I am trying to implement the seekbar in android. I have set the tickMark drawable which is "grey". On progress the thumb will be red but I also need to change the tickmark which are been ...
0 votes
0 answers
38 views

Thumb is on top of the seekbar

I am trying to design a seekbar with a thumb that contains the progress. Below is the image how it is expected to be: Below is my xml for the seekbar: <androidx.appcompat.widget.AppCompatSeekBar ...
0 votes
0 answers
81 views

Custom View Seekbar in android

i am working on a custom view for my android application. i am trying to create a custom view for my seekbar. i have extended my custom view class from androidx.appcompat.widget.AppCompatSeekBar ...
0 votes
0 answers
23 views

How can we design a SeekBar with custom Thumb UI and a Text inside it and custom SeekBar Track UI?

How can we design SeekBar with a custom Thumb and Text inside it and a custom SeekBar Track UI as shown below?
0 votes
0 answers
14 views

Kotlin how to data transfer with navigation

I have 3 fragment one is SettingsFragment and it has three seekingbar ı want to get value from seeking bar and turn back startfragment , ı have three value in three seekbar. I tried this but when i ...
0 votes
1 answer
172 views

how to detect volume change in kotlin

I want to change the seekbar position according to the volume size. It was possible to change the seekbar position according to the volume level when the volume button is pressed, but I do not know ...
2 votes
6 answers
3k views

Seekbar focus not wanted

I am using a SeekBar in my layout and I have another View that is a RelativeLayout. <CoordinatorLayout> <RelativeLayout> ... </RelativeLayout> <SeekBar ...
1 vote
1 answer
206 views

I want to create a seekbar in android(xml and kotlin).How?

I want to create a seekbar like the picture below in android(xml and kotlin).How? Also I need to do the kotlin portions in a custom adapter. I tried using github libraries,but it seemed to be not ...
0 votes
0 answers
17 views

Syncing Progress of mediaplayer with ObjectAnimator

I'm using the Library -> https://github.com/alxrm/audiowave-progressbar My target is to play the song in the form of waveform the problem im facing is when i click on play song started playing but ...
0 votes
0 answers
55 views

Gettingf error and application not starting when trying to reference to SeekBar. how to resolve?

After dragged the SeekBar to the design I want to use it in the MainActivity.kt: package com.example.flashlight import android.content.Context import android.hardware.camera2....
0 votes
0 answers
28 views

SeekBar doesn't react to user's touches

I neeed to handle user seekbar touches in AdapterRecyclerView, but the seekbar doesn't respond. I think the problem is that seekbar is in RecyclerView, and I don't know how to resolve this holder....
20 votes
1 answer
9k views

Android SeekBar Touch Sensitivity

Recently I have been working on an app which has a SeekBar. The SeekBar is rather thin so it can at times be difficult to use it (you have to be very precise in your gestures). Is there any way to ...
0 votes
0 answers
80 views

SeekBar/Slider with different step sizes

I am building a Slider or SeekBar with different step sizes. What I want is a SeekBar range from 10 - 3500 but with only 7 Steps i.e., 10, 200, 500, 1000, 2000, 3500. So, you can see the step size is ...
0 votes
0 answers
143 views

Is there a good way to implement a discrete vertical seekbar in Android Studio?

Simply rotating a horizontal (normal) seekbar with android:rotation="270" makes the appearence rotate, but does not rotate it in the layout and the bounds stay horizontal. I have tried to ...
0 votes
1 answer
154 views

How can I detect the change in brightness on Android and use it simultaneously?

I added SeekBar in Android app. I'm able to change the brightness of the system using SeekBar. binding.seekBar.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener { ...
0 votes
1 answer
24 views

How to change color of seekbar setProgressDrawable programmatically

I have a seekbar in my adapter class and 3 buttons. When I press button one by one, I want to change seekbar progress according to buttons. if (pos==0){ viewholder.binding.quizNameTv.setTextColor(...
1 vote
1 answer
2k views

seekbar with fixed intervals,one thumb and thumb will have only 5 steps

i want to create seek bar as shown in image. I have check almost all libraries but those are not suitable to my requirement.In seek bar i have intervals user can select only these intervals only.For ...
7 votes
4 answers
4k views

Can't move Android SeekBar with Appium

I have a customized Android seekbar like this, and the positions where it can move to. And it starts from the middle: I want to move the slider first and then check if it's saved. I have a method ...
0 votes
1 answer
32 views

Seekbar and Spinner cleared by a button JAVA Android Studio

I'm trying to reset the seekbar, spinner and textview using a button. With the code I have implemented resets the seekbar and spinner to the position at the first click but it wont reset the textview ...
10 votes
4 answers
9k views

SeekBar setMin require at least api 26 in Android?

I want to use a SeekBar in my android app. My minsdk version is must be 23. The compiler said setMin of SeekBar needs at least API level 26. Do I need some special support library for a simple ...
8 votes
7 answers
45k views

android Seekbar show progress value along the seekbar

I have a listview with seekbar, each seekbar represents 100% of a value of product. By moving the seekbar the % value can be changed, I want to show the change in value along the seekbar while the ...
0 votes
0 answers
35 views

How to save arrayof Seekbars position and its Visibility throuhout App

I am using Exoplayer to play multiple audios simultaneously and appoint each audio its own sound Control. but if we move to another Activity and return, our Seekbars were gone, how we can resolve this?...
0 votes
3 answers
2k views

How to add tickmark with selected value for Discrete Sliders?

I'm trying to style a discrete seekbar like the Focused Seekbar showed in the Material design website and I can't figure out how add the tickmark over the bar that shows the selected value Material ...
1 vote
1 answer
27 views

Android Studio:- The Music is changing after a song is finished does not behave properly

I am aiming to make a simple music player app and I am new to android development I wanted that the app should play the next song when the current song is finished so I paste the code of next Button ...
0 votes
1 answer
1k views

How to implement "zoom" with seekbar on CameraX?

I am new to Android App development. I read https://github.com/Pinkal7600/camera-samples/blob/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/fragments/CameraFragment.kt for ...
2 votes
2 answers
1k views

Android Range Seekbar with two different thumbs

I want a range seekbar with two different thumb range selections. I'm using this library but there is not an option right drawable only the left drawable is working on both ends. <org.florescu....
0 votes
1 answer
39 views

How to make progressDrawable occupy entire width of seeker (Android)?

I am trying to create a custom seekbar. I have used vectors for progress drawable and thumb as: android:thumb="@drawable/custom_seekbar_thumb" android:progressDrawable="@drawable/...
0 votes
1 answer
526 views

How to have numbered scale with Seekbar (Android)?

I am trying to customise Seekbar. I need Seekbar like : How do I add numbered scale to Seekbar as shown in image above? I have been able to make custom thumb and custom progress drawable simply by ...
2 votes
2 answers
373 views

Android SeekBar - how to set increment step

I want to use SeekBar to pick time. I have startDate and endDate. Difference in time is set as seekbar.max (could be for example 850 minutes(int 850)). And I want to increment this progress by 15 ...
68 votes
13 answers
150k views

SeekBar and media player in android

I have a simple player and recorder. Everything works great but have one problem. I want to add seek bar to see progress in playing record and use this seek bar to set the place from the player should ...
0 votes
1 answer
327 views

A transparent dot coming on the Vertical SeekBar while seeking down on Android

I have added a Vertical SeekBar in my android application which doesn't show the thumb on the SeekBar. This is working all fine but having a small issue - when I scroll/swipe the SeekBar to the bottom,...
0 votes
1 answer
294 views

Control seekbar not working to control volume

I'm newbie and I'm creating my first java app for android, and I'm having some difficulties, can you please help me? I created a seekbar to control my audio volume, but it's not working. Another point ...
4 votes
2 answers
18k views

How to add seekbar to Exoplayer exo_playback_control_view.xml

cannot add seekbar to explayer Ia ma referring to https://medium.com/google-exoplayer/customizing-exoplayers-ui-components-728cf55ee07a to add custom play pause button and seekbar to exoplayer ...
2 votes
2 answers
210 views

How can we create the below UI as shown in Native Android

I have to implement the below seek bar as shown below. The left side round thumb icon can be dragged and can be placed to each corresponding numbers. The number's remain constant, only the thumb icon ...
0 votes
1 answer
1k views

Progress bar does not fit the background drawable

I'm working on a horizontal progress bar and the progress does not seem to be fitting the drawable image. It starts after like 5dp. This is my code. <SeekBar style="?android:attr/...
2 votes
3 answers
172 views

SeekBar - Can't set starting point

When I first start my app, before the Shared Preferences are created, I want my seekbar to be set on 300px (max 600). It seems simple, as all I need to do is use setProgress and give it a value of 300....
1 vote
1 answer
2k views

How to create a video seek bar with thumbnails like in kinemaster ? In Android?

I am trying to achieve the above with exoplayer. Creating a thumbnail list from the video at a certain interval . Say 10 seconds And displaying it to the seekbar along with the time . How to ...
266 votes
26 answers
328k views

Android - styling seek bar

I wanted to style a seek bar which looks like the one in the image below. By using default seekbar I will get something like this: So what I need is to only change the color. I need no extra styles. ...
0 votes
1 answer
76 views

How to programmatically delete a seekbar in android studio

I am trying to write a program in which I am deleting the seekbar if the seekbar is set to zero. So far, I have been able to remove the visibility of the seekbar from the android screen, but it is not ...
6 votes
3 answers
5k views

Using gradient for Android SeekBar progressDrawable

Currently I'm working on custom SeekBar with gradient like this one. I've tried to implement seekbar with my own styles. So I did like that: ... <style name="GreenSeekBar.Static.NoThumb"> &...
12 votes
5 answers
15k views

How to get value from new android material design Slider

Using new material design slider com.google.android.material.slider.Slider. The documentation is quite poor for it as it has been just recently released. Trying to get value from slider but no luck ...

1
2 3 4 5
14