My problem is twofold. I have a seekBar at the moment it isn't customized but I fear that in the future it will need to be. My problems surround the thumb image:
My seekBar thumb needs to be clickable as I want an action to take place when touched this I managed to achieve using a onTouchlistener the problem is I would like a visual feedback image when the thumb is clicked, This I tried to achieve with a drawable selector with no avail.
Second problem is that I want to animate my seekbar thumb on orientation change. This I have NO idea how to do...
any help will be greatly appreciated!
EDIT: The animation that I'm trying to achieve is a rotation so the image will always be "upright"
and the code that I tried to use for the click feedback is as follows:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/camera_button_feedback" android:state_pressed="true"/>
<item android:drawable="@drawable/camera_button_feedback" android:state_selected="true"/>
<item android:drawable="@drawable/camera_button_icon"/>
</selector>
So what I did after long deliberation was create a view under the thumb which progressed with the thumb and made the seekbar's thumb invisible in order to get the touch events and just animated the underlying view as needed