how to add custom toolbar in android studio code example
Example: getsupportactionbar activity
ActionBar mActionBar = ((AppCompatActivity) getActivity()).getSupportActionBar();
ActionBar mActionBar = ((AppCompatActivity) getActivity()).getSupportActionBar();