title: Adding icon with submenu items
body: <p>I have made submenu with some items in it. Now I want to add different icon with submenu items. I have also applied the code to the menu items for adding icon but it is not showing me icons my code is this:</p>
  
  <pre><code>public boolean onCreateOptionsMEnu(Menu m) {
      SubMenu s1 = m.addSubMenu("menu1");
      s1.add(0,0,1,"1").setIcon(R.drawable.icon1);
      s1.add(0,1,2,"2").setIcon(R.drawable.icon2);
  
      return super.onCreateOptionsMenu(m);
  }
  </code></pre>