As we previously desribed in PreferenceActivity Basics a preferences screen with basic features can be done with minimal work, only using XML. Now we will inplement some functionality beyond the base ones, this will require some coding in addition to the XML definition.
We will display the actual value in each preferences summary field, like this:
The base XML will be the same as in the previous example, but we dont need to fill summary fields, they will be filled dinamically.