How do you access the ActionBar from a fragment (android.support.v4.app.Fragment file). I am using Android v4 and v7 support library. I do not use the Sherlock library.
The activity hosting the fragment is ActionBarActivity.
I read the Android Fragment help section, which also led me to getActivity (), but there is no getSupportActionBar () method.
ActionBar actionBar = getActivity().getSupportActionBar()
java android android-fragments android-support-library
Reafidy
source share