In your XML settings-definition file, here's what you need. Just use:

<com.my.package.PrefSubclass
        android:key="pref_key"
        ...
        />

where "com.my.package" is your package name, and PrefSubclass is the class 
name of your Preference subclass. Use this instead of:

<EditTextPreference
        android:key="pref_key"
        ...
        />

or whatever Preference class you're basing it off of.

String

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

Reply via email to