package fr.utc.assos.uvweb.ui.activity;

import fr.utc.assos.uvweb.R;

public class CommentActivity extends ToolbarActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.activity_comment;
    }
}

package fr.utc.assos.uvweb.ui.activity;

import android.os.Bundle;
import android.view.MenuItem;

import fr.utc.assos.uvweb.R;

public class CommentActivity extends ToolbarActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_comment;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        if (item.getItemId() == android.R.id.home) {
            finish();
            return true;
        }
        return super.onOptionsItemSelected(item);
    }
}

Make comment activity cloasble