Reputation: 10471
Is there anyway to implement something like a trackbar on android, so I can explicity specify the values and select it?
Upvotes: 1
Views: 2706
Reputation: 1480
What you are you looking for is the SeekBar
http://developer.android.com/reference/android/widget/SeekBar.html
Upvotes: 3
Reputation: 16110
Well i recall there were some tutorials on how to add one to a preference activity, so it is certanly possible, other than that there is the seekbar component in the sdk. you can even drag it in layout with the GUI tool.
if you have seen the media player controls and other similar things that can be added that is also a possibility although i don't know if those can be modified.
see this for customizing the seek Bar:
also this thing about vertical seekbar can be helpfull:
Upvotes: 3