I have noticed this behavior even with the default thumb. What I did was, instead of using the whole seek bar, only use 90% of it. If the thumb position is < 5%, then set it at 5%. Likewise, if it's > 95%, set it to 95%, so basically the thumb will go from 5% to 95%. Yes, the seek bar becomes a little smaller as a result, but it looks better, and is more usable, IMO.
Depending on the size of your custom thumb image, you may need to change the 5% and 95% numbers. On Jun 30, 1:03 am, ameya dandekar <ameya...@gmail.com> wrote: > Hi.. > I am currently working on an application in which i am using the > seek bar for showing progress of the song playing, i m using the in built > seek bar of our android , in which instead of the default thumb image of > android , i have an custom image for that in my application, it works > perfectly for 1.5 but for android sdk 2.1 and 2.2, half of that image is > displayed , i.e. thumb is displayed partly outside the screen (for the start > i.e. at 0th pos).I have used "android:thumboffset" attribute in xml to > adjust the thumb , but still its not working on 2.1 and 2.2. > So, What can i do for this ? > > Regards, > Ameya -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en