title: What is the difference between using AppCompatActivity and Activity in Android?
body: <p>While designing an android application - I have extended Activity Parent class in MainActivity.</p>
  
  <p>While doing so I was not able to display string (App Name) in heading of application and image is not showing while testing on Android device.</p>
  
  <p>But after changing Activity to AppCompatActivity - all of the errors get corrected. </p>
  
  <p>I want to know why this happened?</p>