In this post I will share, How to use ActionBarSherlock in your Android Project with custom Action Bar Design. I must upload a video about how to do this. Trust Me !!
Steps:
Benefits of ActionBarSherlock
- This allows you to easily develop an application with an action bar for every version of Android from 2.x and up.
Steps:
- Download ActionBarSherlock library from http://actionbarsherlock.com/index.html .
- import this library to Eclipse.
- Create a new Android Project & Add ActionBarSherlock library from Project Property.
- In your Activity class, extends SherlockActivity in stead of Activity as parent class.
- Now, You can create custom Action Bar Design by using http://jgilfelt.github.io/android-actionbarstylegenerator/ website. (Google Chrome is preferred for designing)
- Download your custom design & paste it to the project.
- Set Application theme to this new custom theme in manifest file.Ex -android:theme = "@style/Theme.Androidinside" .
- Now test Emulator or Real Device Android 2.x & Plus . You see same design for each. Enjoy !!!