Called with the activity is first created. super.onCreate(icicle); addPreferencesFromResource(R.xml.gallery_preferences);
super.onCreate(icicle); addPreferencesFromResource(R.xml.gallery_preferences);