SharedPreferences are an easy way to store bits of information that need to persist over the life cycle of an app. In the MyContactList app, preferences are set in the
ContactSettingsActivity. This activity is developed so that you can learn how to use
SharedPreferences. To do so, the layout is first coded and then the Java file is edited.