android - Does Custom PreferenceActivity Need To Define List -
does custom preferenceactivity need define list?
if not define list part of content associated custom preferenceactivity, following runtimeexception:
your content must have listview id attribute 'android.r.id.list'
i trying create custom preferenceactivity shows 2 lists:
- one list adds selections other list
- one list allows user move items or down, or delete them (probably context menu)
what "preferred" way of doing this?
thanks, wts
preferenceactivity extends listactivity, assume needs list.
when don't understand things preferred way use source® : preferenceactivity
edited:
i'd take approach:
copy preferenceactivity new class.
create own layout activity (take @ listactivity docs). add second listview it.
make sure works original preferenceactivity.
start adding code second listview.
Comments
Post a Comment