setCustomView of sherlock actionbar not working well

view story

http://stackoverflow.com – In my application I have customized the ActionBarSherlock by using the setCustomView method. My custom action bar is showing when I load the activity. As I am customizing action bar after setContentView method of activity, firstly (sherlock)default action bar is shown to the user then my customize action bar is shown to user. I am also using Window.FEATURE_INDETERMINATE_PROGRESS which is showing progressbar on the default sherlock action bar not on my customized actionbar. I am also adding menu items on action bar those also were showing on default sherlock action bar. How can I properly c (HowTos)