EgyRevDev / Arrestred

Repository for Arrested Mobile application
0 stars 0 forks source link

icons of ActionBar disappear upon using ActionBarActivity #3

Closed egy-dev-rev closed 10 years ago

egy-dev-rev commented 10 years ago

In SettingsActivityFacebook, that displays User Profile Picture and User name: If I used ActionBarActivity instead of FragmentActivity, ActionBar icons disppear. According to Android Documentation: http://developer.android.com/guide/topics/ui/actionbar.html#ActionItems You must define your app namespace and use it with attribute: showAsAction but it did not work as expected.

egy-dev-rev commented 10 years ago

Now it is working fine. I defined app namespace and use it with ActionBarActivity for two attributes in menu xml: showAsAction & actionProviderClass. Find the commit https://github.com/EgyRevDev/Arrestred/commit/d188d592f3f018c76d9e62434900e53eeac7dc20