Unfortunately the seek bar is missing trackball-functionality in 1.0.

If you still want to try to fit a slider inline with the preference, you
might use listView.setItemsCanFocus(false).  However, this may interfere
with CheckBoxPreferences.

Instead of this, I think you should pop up a DialogPreference with a seek
bar in there, similar to the brightness or volume settings.  It's one extra
level for the user to traverse, but it'll be a cleaner list of settings and
match the rest of the settings across the system.

jason

On Wed, Oct 8, 2008 at 8:29 PM, Shaun <[EMAIL PROTECTED]> wrote:

>
>
> I have a custom preference that is a container with a slider (SeekBar)
> and some text. How can I get the slider to take focus when the list
> item is highlighted (I want it to take focus so the user can use the
> trackball to move the slider).
>
> I've tried listening to the ListViews selection changes but the
> SeekBar always refuses my requestFocus() calls.
>
> Thx.
>
> SPT
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to