package com.newsblur.activity;

import com.actionbarsherlock.app.SherlockPreferenceActivity;
import com.newsblur.R;
import com.newsblur.util.PrefConstants;

import android.os.Bundle;

public class Settings extends SherlockPreferenceActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        super.getPreferenceManager().setSharedPreferencesName(PrefConstants.PREFERENCES);
        addPreferencesFromResource(R.layout.activity_settings);
    }

}

@@ -86,16 +86,60 @@
 tivity;%0A
+import com.actionbarsherlock.view.MenuItem;%0A
 import c
@@ -153,16 +153,16 @@
 blur.R;%0A
-
 import c
@@ -393,16 +393,79 @@
 State);%0A
+        getSupportActionBar().setDisplayHomeAsUpEnabled(true);%0A
         
@@ -617,10 +617,287 @@
 %0A    %7D%0A%0A
+    @Override%0A    public boolean onOptionsItemSelected(MenuItem item) %7B%0A        switch (item.getItemId()) %7B%0A        case android.R.id.home:%0A            finish();%0A            return true;%0A        default:%0A            return super.onOptionsItemSelected(item);   %0A        %7D%0A    %7D%0A
 %7D%0A

Support navigating back to home page from action bar in Preferences