Difference between AppCompatActivity and Activity
<p>I am trying to add a menu in my application. It works if it extends <code>AppCompatActivity</code>, but not if it extends <code>Activity</code>. Is the menu not available in <code>Activity</code>? People say <code>Activity</code> is basic where <code>AppCompatActivity</code> is something developed later. Is there any good reason I should use <code>Activity</code> instead of <code>AppCompatActivity</code>? <code>AppCompatActivity</code> is the default but in my learning it was recommended to choose <code>Activity</code>, but I encountered the problem in creating the menu (action bar). Please help!</p>