Android Seek bar - android

I'm just wondering if the seekbar changed in Android 2.1 . I tried to create one but it showing up as a green line with a circle on it instead of the usual yellow rectangle. If so, is there any other option to create a similar seekbar to control volume on 2.1? Thanks

You can use the setThumb() and setProgressDrawable() of SeekBar to customize the UI

Related

i want to set seekbar setSplitTrack under lollipop

i want to setSplitTrack(true) under lollipop, but i can't.
i tried set thumb's padding or margin, but it was not working.
I guess, android seekbar has stack structure, so it through all background.
thanks.
The Material seek bar has split track enabled by default. You need to turn it off.
This link might help you : https://stackoverflow.com/a/27000942/5816000

Create custom Progressbar with color change at rotate in Android

I want to create custom Progress bar which color is change every time when Rotation finish...
For example:
1st roation - red color
2nd roatation - blue color
3rd roatation - green color
You can use readymade libs available to do so
ProgressWheel,
android-circular-progress-bar
The best one Android-ProgressViewsLib
There are so many library available on github you can use anyone.
Android-RoundCornerProgressBar
materialish-progress
material
ProgressWheel
and just for the record you can find more here ;)

Android Seekbar dot want disappear

I have a project to build android application use seekbar. I wanna the dot seekbar disapper is posible? if possible how to make the dot disappear. like this http://prntscr.com/bwgaok
I worked on this one and it works for me
Use this following library for circular seekbar
https://github.com/devadvance/circularseekbar
and give app:pointer_radius="0dp"
It will work better
Have you tried seekBar.getThumb().mutate().setAlpha(0); ?
If you wish to make the seekBar "unclickable" use seekBar.setEnabled(false)

Custom shape of a SeekBar in android application

I know it is possible to change the style of the SeekBar in android apps, but is it possible to change the shape of the progress line of a SeekBar?
I would like it to be like that:
Any ideas on how to achieve this? :)
Similar to this question here How to make custom seek bar in android?
You're not going to be able to do that with the default slider. You're going to have create a custom view. Here's some resources to get you started.
http://www.mokasocial.com/2011/02/create-a-custom-styled-ui-slider-seekbar-in-android/
http://developer.android.com/training/custom-views/create-view.html
Edited to add this other resource the may help you get the curves you want
Give a semi-circular shape to seekbar

Change in seek bar in Android 3.0

I'm just wondering if the seekbar changed in Android 3.0 . I tried to create one but it showing up as a green line with a circle on it instead of the usual yellow rectangle. If so, is there any other option to create a similar seekbar to control volume on 3.0? Thanks guys.
I'm just wondering if the seekbar changed in Android 3.0 .
More accurately, it changed with the "holographic" theme that is the standard for Android 3.0 (and, presumably, beyond).
I tried to create one but it showing up as a green line with a circle on it instead of the usual yellow rectangle.
Correct. That is what your users will expect to see.
If so, is there any other option to create a similar seekbar to control volume on 3.0?
I would recommend that you leave it alone. The objective should be to give the user what they are familiar with. If most other applications with seek bars -- and the OS itself -- are using the new seek bar style, ideally you will too.
Note that the new style only takes effect if you are adopting the holographic theme (e.g., android:targetSdkVersion="11"), which means you are buying into the entire new Honeycomb look and feel (action bar, change to the way a Spinner looks, etc.).
You are welcome to use your own style and substitute in your own graphics, using the styleable portions of ProgressBar and SeekBar (SeekBar inherits from ProgressBar), or in your XML layouts (e.g., android:thumb), or via Java code.

Categories

Resources