I added a Fragment to my Android Studio project using New > Fragment > Fragment (Blank). As a result when I try to run, the project won\'t compile because
New > Fragment > Fragment (Blank)
In My case, I done like this
final ActionBar ab = mActivity.getSupportActionBar(); ab.setHomeAsUpIndicator(android.support.v7.appcompat.R.drawable.abc_ic_ab_back_material);