MCPcopy Create free account
hub / github.com/Odoo-mobile/framework / onCreate

Method onCreate

src/com/odoo/AppSettingsActivity.java:38–51  ·  view source on GitHub ↗
(Bundle savedInstanceState)

Source from the content-addressed store, hash-verified

36 * @see android.preference.PreferenceActivity#onCreate(android.os.Bundle)
37 */
38 @SuppressWarnings("deprecation")
39 @Override
40 public void onCreate(Bundle savedInstanceState) {
41 super.onCreate(savedInstanceState);
42
43 getActionBar().setHomeButtonEnabled(true);
44 getActionBar().setSubtitle(R.string.title_application_settings);
45 getActionBar().setDisplayHomeAsUpEnabled(true);
46
47 getActionBar().setIcon(R.drawable.ic_action_settings);
48
49 addPreferencesFromResource(R.xml.account_preferences);
50
51 }
52
53 /*
54 * (non-Javadoc)

Callers

nothing calls this directly

Calls 1

setIconMethod · 0.45

Tested by

no test coverage detected