android - Howto make a layout similar to the ones in settings -


i have android activity need have user enter information. data lends preferenceview listpreferance elements. sure use preferences interfaces need, cludgy. there way these same widgets in regular view?

i solved same issue following similar approach 1 listed here. boils down providing preference xml preferenceactivity , backing own model, instead of default sharedpreferences. in example uses database if don't have backing database (or don't want commit whenever setting changed) can use map backing editor.


Comments

Popular posts from this blog

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -

Python __call__ special method practical example -