title: findViewById not recognized as a method within a SherlockFragment
body: <p>I have a fragment with two buttons inside. I cant attach the xml buttons to java buttons, because within the SherlockFragment Class, findViewById is not recognized as a method.</p>
  
  <p>I changed SherlockFragment to SherlockFragmentActivity, but this way, the OnCreateView method is not the right one to be working with, and I dont know which method should I use instead?</p>
  
  <p><strong>Variant 1: findViewById is not recognized as a method</strong></p>
  
  <pre><code>public class MyProfileActionButtonsFragment extends SherlockFragment {
      private Button bMyProfileEditProfile;
      private Button bMyProfileSettings;
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
          // Inflate the layout for this fragment
          return inflater.inflate(R.layout.my_profile_action_buttons_fragment, container, false);
  
          bMyProfileEditProfile = (Button) findViewById(R.id.bMyProfileEditProfile);
          bMyProfileSettings = (Button) findViewById(R.id.bMyProfileSettings);
  
          bMyProfileEditProfile.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  Intent editUserProfile = new Intent (getActivity(), UserProfileEdit.class);
                  startActivity(editUserProfile);
  
              }
          });
          bMyProfileSettings.setOnClickListener(new OnClickListener() {
  
              @Override
              public void onClick(View v) {
                  Intent settings = new Intent (getActivity(), Settings.class);
                  startActivity(settings);
  
              }
          });
      }
  </code></pre>
  
  <p><strong>Variant 2: The method onCreateView(LayoutInflater, ViewGroup, Bundle) of type MyProfileActionButtonsFragment must override or implement a supertype method</strong></p>
  
  <pre><code>public class MyProfileActionButtonsFragment extends SherlockFragmentActivity {
      private Button bMyProfileEditProfile;
      private Button bMyProfileSettings;
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
          Bundle savedInstanceState) {
          // Inflate the layout for this fragment
          return inflater.inflate(R.layout.my_profile_action_buttons_fragment, container, false);
  
          bMyProfileEditProfile = (Button) findViewById(R.id.bMyProfileEditProfile);
          bMyProfileSettings = (Button) findViewById(R.id.bMyProfileSettings);
  </code></pre>