I'm really trying to set up the onCreateOptionsMenu method in my Sherlock fragment, since I usually do not use Sherlock fragments. Can someone say what I need to import and how the implementation works?
Some code that I have:
public class MyFragment extends SherlockFragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.custom_list, container, false);
android actionbarsherlock android-optionsmenu
user2426316
source share