Type preference activity is dispatched

32 Views Asked by At

protected void onCreate (Bundle savedInstancestate) {

super.onCreate(savedInstancestate);

addPreferencesFromResources(R.xml.prefs);

}

1

There are 1 best solutions below

0
On

protected void onCreate (Bundle savedInstanceState) {

    super.onCreate (savedInstanceState);
    addPreferencesFromResource (R.xml.YourFileName);

}