title: Android studio cannot resolve symbol page_fragment (exists)
body: <p>Currently I am trying to do this: </p>
  
  <pre><code>    package mko.cs.stir.ac.uk.unitconv;
  
      import android.support.v4.app.Fragment;
      import android.os.Bundle;
      import android.view.LayoutInflater;
      import android.view.View;
      import android.view.ViewGroup;
  
      public class Page2Fragment extends Fragment {
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        return inflater.inflate(R.layout.page2_fragment, container, false);
       }
     }
  </code></pre>
  
  <p>I've managed to fix this error before, by changing R.layout to something else, how do I find out what that something else is. Everyone says the fix is to clean, rebuild etc. But it is not in my case, how do I find the actual context path for that fragment as it is there. It is in activity_main.xml (the file with the design tab)</p>