title: @id not displaying when creating a listview
body: <p>When dragging and dropping in design to create a list view, the only code that got created in my xml was :</p>
  
  <pre><code>&lt;ListView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"/&gt;
  </code></pre>
  
  <p>No <code>android:id="@id/example"/</code> was created. I need to call it for my Fragment class</p>
  
  <pre><code>@Override
  public View onCreateView(LayoutInflater inflater, ViewGroup container,
                           Bundle savedInstanceState) {
      View view = inflater.inflate(R.layout.fragment_details, container, false);
  
      String[] menuItems={"Example1","Example2","Example3"};
  
      ListView listView = (ListView)view.findViewById(R.id.example);
  
  
      return view;
  }
  </code></pre>
  
  <p>I can't call my ListView because android studio wont let me create an id for it. I get the following error when writing the code in <strong>Cannot resolve symbol '@id/example', Validates resources references inside Android XML files</strong></p>
  
  <p>What am i missing?</p>