OK, I've been extending my activities to
extends ActionBarActivity
My main menu page
extends FragmentActivity
when I change it to extend ActionBarActivity so I can see my action bar title on the main menu, it throws up and gives me the "Error Inflating Class Fragment" error.
Is there any way around this?
ActionBarActivity extends android.support.v4.app.FragmentActivity, so ActionBarActivity serves both purposes.
Is your code from the Action Bar compatibility example that comes with the SDK? If so just change the ActionBarActivity class in that example to extend FragmentActivity (from the compatibility library I assume) instead of Activity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With