title: Creating a project with a default blank activity vs manually adding a blank activity
body: <p>So I was watching an android tutorial where the narrator explained how to manually add a blank activity to a project with no activity instead of picking a default blank activity when creating the project. On his screen, both blank activities had the same java source code. </p>
  
  <p>However, when I tried this, I found that the blank activity I added manually was lacking the <code>onCreateOptionsMenu</code> and <code>onOptionsItemSelected</code> methods in the <code>.java</code> file. Is there a reason why the manually added activity is missing these methods, and is this a significant difference?</p>
  
  <p>The link for the tutorial is <a href="https://www.youtube.com/watch?v=cOYzJN6A-JM" rel="nofollow noreferrer">https://www.youtube.com/watch?v=cOYzJN6A-JM</a>, and a comparison of the two java codes is below.</p>
  
  <p>This is the java code from the default blank activity when the project was created.
  <a href="https://i.stack.imgur.com/NilRn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NilRn.png" alt="enter image description here"></a></p>
  
  <p>This is the java code from the manually added blank activity to a project with no activity.<a href="https://i.stack.imgur.com/fWd0t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fWd0t.png" alt="enter image description here"></a></p>