While implementing menu bar for my app, I realized that instead of using an Options menu(which appears at the bottom of the screen after pressing the menu button) I should be using an Action bar to access options and actions. The main reason behind this was Android's decision to deprecate the "Menu" button as some newer devices don't have it. I didn't wanted my app to be confined to certain devices due to this.
I came across ActionBar Sherlock and decided to give it a try. I downloaded the zip from http://actionbarsherlock.com/. The next step was to add it to my project in eclipse. Here are the steps I followed:
i) Create a new android project. Browse to the library folder and hit ok.
ii) Right click on the existing project(or create a new project if you don't have one) and go to
properties.
iii) Click on Android.
iv) Click on Add in the Library section and add the library project from step (i).
However, when I cleaned and build my project I saw this error
To fix this error I followed the steps below:
i) Navigate to ActionBar Sherlock's /library/libs folder. Delete the android-support-*.jar.
ii) Replace this file from Eejot's project.
I came across ActionBar Sherlock and decided to give it a try. I downloaded the zip from http://actionbarsherlock.com/. The next step was to add it to my project in eclipse. Here are the steps I followed:
i) Create a new android project. Browse to the library folder and hit ok.
ii) Right click on the existing project(or create a new project if you don't have one) and go to
properties.
iii) Click on Android.
iv) Click on Add in the Library section and add the library project from step (i).
However, when I cleaned and build my project I saw this error
To fix this error I followed the steps below:
i) Navigate to ActionBar Sherlock's /library/libs folder. Delete the android-support-*.jar.
ii) Replace this file from Eejot's project.
Comments
Post a Comment