I found this code on internet and thought I would give it a try. I put it in my preferences and it was exaclt the way I wanted it to be but my only problem is that I cant get the value of SeekBar.
Here is the link to code that I am using in my preference:
http://android.hlidskialf.com/blog/code/android-seekbar-preference
and here is the part of preference xml:
<com.mypack.SeekBarPreference android:key="zoom"
android:title="Zoom"
android:summary=""
android:dialogMessage="Zoom level"
android:defaultValue="50"
android:text=" %"
android:max="100"
/>
can anyone tell me how to get value of seekbar after user has changed it in preferences window?
You could use setOnPreferenceChangeListener():