package android.example.com.visualizerpreferences;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class SettingsActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_settings);
    }
}

@@ -45,16 +45,97 @@
 ences;%0A%0A
+import android.support.v4.app.NavUtils;%0Aimport android.support.v7.app.ActionBar;%0A
 import a
@@ -200,16 +200,46 @@
 .Bundle;
+%0Aimport android.view.MenuItem;
 %0A%0Apublic
@@ -457,16 +457,441 @@
 ttings);
+%0A%0A        ActionBar actionBar = this.getSupportActionBar();%0A        if(actionBar != null)%7B%0A            actionBar.setDisplayHomeAsUpEnabled(true);%0A        %7D%0A    %7D%0A%0A    @Override%0A    public boolean onOptionsItemSelected(MenuItem item) %7B%0A        int itemId = item.getItemId();%0A        if(itemId == android.R.id.home)%7B%0A            NavUtils.navigateUpFromSameTask(this);%0A        %7D%0A        return super.onOptionsItemSelected(item);
 %0A    %7D%0A%7D

Fix up button in T06.01