title: Cannot resolve symbol (string)
body: <p>Simple question, why is this happening?</p>
  
  <pre><code>import android.media.MediaPlayer;
  import android.os.Bundle;
  import android.support.v4.app.Fragment;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.Button;
  
  import com.maxiesnax.gavinisms2.gavinisms2.R;
  
  
  
  public class GavinFragment extends Fragment {
  ;
  
  
  
  @Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
      View rootView = inflater.inflate(R.layout.fragment_gavin, container, 
  false);
  
  
  
      // Inflate the layout for this fragment
      return rootView;
  
      final MediaPlayer aahMP = MediaPlayer.create(getActivity(), R.raw.aaah);
  
      Button play_aaah = (Button) getActivity().findViewById(R.id.play_ahhh);
  
      play_aaah.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              aahMP.start();
          }
      });
  
  }
  
  
  }
  </code></pre>
  
  <p>this is my code for my Fragment containing the button for aah.mp3 to be played. The error occurs at</p>
  
  <pre><code>(R.id.play_ahhh);
  </code></pre>
  
  <p>specifically the play_ahhh when it's already defined in the XML.</p>
  
  <pre><code>&lt;resources&gt;
  &lt;string name="app_name"&gt;Gavinisms&lt;/string&gt;
  
  &lt;string name="navigation_drawer_open"&gt;Open navigation drawer&lt;/string&gt;
  &lt;string name="navigation_drawer_close"&gt;Close navigation drawer&lt;/string&gt;
  
  &lt;string name="action_settings"&gt;Settings&lt;/string&gt;
  
  &lt;string name="play_ahhh"&gt;Ahhh"&lt;/string&gt;
  &lt;!-- TODO: Remove or change this placeholder text --&gt;
  &lt;string name="hello_blank_fragment"&gt;Hello blank fragment&lt;/string&gt;
  &lt;/resources&gt;
  </code></pre>