title: How to navigate to the corresponding java class from XML layout for fragments in Android Studio?
body: <p>Suppose that I am in a layout file named "main.xml" and its corresponding fragment java class is "MainFragment.java".</p>
  
  <p>Is there any shortcut to go to "MainFragment.java" from the "main.xml" or any other way?</p>
  
  <p>It will be helpful to navigate around xml and java classes quickly when there are a lot of java classes and xml files in the project.</p>
  
  <p><strong>Note:</strong> For activity, there is a “C” symbol found in the top-left corner of the layout XML file. When we click that "C" symbol it will take us to corresponding java class in which the xml file is used. But for fragments, there is nothing available.</p>