package zero.zd.zquestionnaire;

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

public class QnaBuilderActivity extends AppCompatActivity {

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

@@ -100,16 +100,46 @@
 .Bundle;
+%0Aimport android.view.MenuItem;
 %0A%0Apublic
@@ -367,12 +367,402 @@
 r);%0A    
-%7D
+    if (getSupportActionBar() != null) %7B%0A            getSupportActionBar().setDisplayHomeAsUpEnabled(true);%0A        %7D%0A%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        %7D%0A        return super.onOptionsItemSelected(item);%0A    %7D%0A
 %0A%7D%0A

add back button