I don't believe that is possible. Consider simply disabling the
preference when it cannot be used, and perhaps updating the
description to indicate why it cannot be used.

On Sun, Jun 26, 2011 at 9:30 AM, Stefan at WPF
<[email protected]> wrote:
> Hello,
> in my android application I have a ListPreference that is empty under
> certain circumstances. In that case, I'd like to show a hint (a short text)
> in the ListPreference explaining why it is empty. What's the best way to do
> that? I would prefer to place the hint like an item meaning I don't want to
> abuse the dialog title or show a new dialog. I want the hint to be included
> in the empty ListPreference like a normal item, just without a radio button.
> Thanks for any hint!
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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