title: Method does not override method from its superclass
body: <p>Can anyone tell me, why this error is displayed (or even have a better solution)?<br>
  I'm new to Java (and Android) development, so I realy don't know my fault
  My Code:</p>
  
  <pre><code>import android.os.Bundle;
  import android.support.v4.app.Fragment;
  import android.support.v4.app.FragmentTransaction;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.Button;
  
  
  public class select_type extends Fragment {
  
  
      public select_type() {
          // Required empty public constructor
      }
  
      @Override //&lt;--- Cause the ERROR
      public View onCreateView(View view, LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
          super.onViewCreated(view, savedInstanceState);
          return inflater.inflate(R.layout.fragment_select_type, container, false);
  
          Button btn = (Button) view.findViewById(R.id.btn);
  
          btn.setOnClickListener(new View.OnClickListener() {
  
              @Override
              public void onClick(View v) {
  
                  noVIP TextFragment = new noVIP();
                  FragmentTransaction transaction = getFragmentManager().beginTransaction();
                  transaction.replace(R.id.fragment_container, TextFragment);
                  transaction.addToBackStack(null);
                  transaction.commit();
              }
          });
  
          return view;
      }
  
  }
  </code></pre>