A simple example to show a preference screen and save settings inside shared preferences