android studio set support action bar code example
Example: getsupportactionbar activity
ActionBar mActionBar = ((AppCompatActivity) getActivity()).getSupportActionBar();
ActionBar mActionBar = ((AppCompatActivity) getActivity()).getSupportActionBar();