With the new ADT plugin, whenever I create a new Activity, it extends ActionBarActivity
probably because of app_compact_v7
library that is automatically added. Is it possible to disable this feature and still use the Support library in my project? I know the need for backward compatibility but I prefer ActionBarSherlock
library and not AppCompact
. So is it possible to do away with automatic app_compact_v7
inclusion in my project's?
Thanks.
I had the same problem until I started creating the app I was taught in class. Here is what I did to stop using appcompact_v7:
Started new Android Application Project
Named the project whatever you want
Changed Minimum Required SDK to API 14: Android 4.0 (IceCreamSandwich)
Left everything else default and you can press Finish or Next
That stopped the ADT from using appcompact_v7 for me at least.
You can't "do away with it", if you use the new-project or new-activity wizards. Near as I can tell, the templates there want you to use appcompat-v7
, as of v22.6.1.
Your choices are:
Stick with the new-project wizard and rip out the appcompat-v7
stuff by hand, or
Copy or import some other Eclipse project as a starting point, one that does not have appcompat-v7
in it
Continues answer of Nate, if you want add other API to you project Follow the next steps:
Started new Android Application Project
Named the project whatever you want
Changed Minimum Required SDK to API 14: Android 4.0 (IceCreamSandwich)
Left everything else default and you can press Finish or Next'
Change the AndroidManifest.xml with the API that you want
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