Search code examples
androidandroid-actionbaractionbarsherlock

ActionBar is not working If selects another language


My app is working fine, But if I select language other then English language from phone's Setting, Then it doesn't show Action bar. Even getSupportActionBar() returns null.

I am using ActionBarSherlock library to show Action bar.

I wonder if anybody else faced/facing similar issue, as I could not find similar thread anywhere.

Edit:- I changed language to Portuguese , I have string.xml for portuguese as well.And it does not show actionbar now.


Solution

  • I was having styles.xml in other language folders too. And they were not having sherlock.theme set in them.

    This was the issue.