title: What's wrong with this XML file? (keeps crashing aapt.exe)
body: <p>I've had problems with my app and eclipse so I saved my code, deleting eclipse, and re-downloaded and extracted. Immediately after I added the XML file to res/menu, I got a windows message saying aapt.exe has stopped working; I'd been getting this message constantly before. I've researched it before so I know that if an XML file isn't written correctly, aapt.exe will keep crashing. Only thing is, I don't see the problem with the file. </p>
  
  <p>createlgmenu.xml (used as a popup menu for a button event): </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item
          android:id="@+id/Create_List"
          android:title="@string/Create_List"/&gt;
  
      &lt;item
          android:id="@+id/Create_Food_Group"
          android:title="@string/Create_Food_Group"/&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>|</p>
  
  <p>|</p>
  
  <p>Other files:</p>
  
  <p>I have practically no code in my mainactivity.java:</p>
  
  <pre><code>package com.example.groceryrunner;
  
  import android.os.Bundle;
  import android.app.Activity;
  import android.view.Menu;
  import android.view.MenuItem;
  import android.view.View;
  import android.widget.PopupMenu;
  
  public class MainActivity extends Activity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
  
      public void onCreateLGClick(View v) {
          final int id = v.getId();
          switch (id) {
          case R.id.CreateLG:
              //findViewById(R.id.GetStarted).setVisibility(View.INVISIBLE);
              createLGPopup(v);
              break;
          /*case R.id.ListsButton:
              findViewById(R.id.GetStarted).setVisibility(View.INVISIBLE);
              createLGMenu(v);
              break;*/
          }
      }
  
      public void createLGPopup(View v) {
          PopupMenu LGMenu = new PopupMenu(this, v);
          LGMenu.getMenuInflater().inflate(R.menu.createlgmenu, LGMenu.getMenu());
          LGMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
  
              @Override
              public boolean onMenuItemClick(MenuItem item) {
                  String choice = new String((String) item.getTitle());
                  if (choice == "Create_List") {
                      //createListDialog();
                  }
                  else if (choice == "Create_Group") {
                      //createListDialog();
                  }
                  return false;
              }
          });
          LGMenu.show();
      }
  
  }
  </code></pre>
  
  <p>Only one button so far in my activity_main.xml:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context=".MainActivity" &gt;
  
      &lt;Button
          android:id="@+id/CreateLG"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_alignParentTop="true"
          android:layout_marginLeft="37dp"
          android:layout_marginTop="21dp"
          android:text="+"
          android:textSize="40sp" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>In case you want to see my menu.xml:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item
          android:id="@+id/action_settings"
          android:orderInCategory="100"
          android:showAsAction="never"
          android:title="@string/action_settings"/&gt;
  
  &lt;/menu&gt;
  </code></pre>