What is difference between activity and AppCompatActivity in Android?
Answer
Activity is the baseline. Every activity inherits from Activity , directly or indirectly. FragmentActivity is for use with the backport of fragments found in the support-v4 and support-v13 libraries. … AppCompatActivity is from the appcompat-v7 library.
Answer
Activity is the baseline. Every activity inherits from Activity , directly or indirectly. FragmentActivity is for use with the backport of fragments found in the support-v4 and support-v13 libraries. … AppCompatActivity is from the appcompat-v7 library.