Preferences: This section of the settings include the user interfaces. It has a number of classes that allow you to create Settings displays using code or XML. Shared Preferences: These are used in XML files to store data. Android creates, maintains, and deletes these files for you.