Android actionBar not Showing main icon when installed on device

Hi I’m creating my first phone app for my first uni assignment, and I’m trying to create a simple action bar menu. My problem is i want the menu icon to awlays show and have the items under it. but when i install it on a android phone “Gallaxy” the menu item diappears but it shows in the emulator. here is my code This particular code is called from my controller file.

//Listen for the home window to open
streetAlertzHomeWindow.addEventListener("open", function() {
    if (Ti.Platform.osname === "android") {
        if (! streetAlertzHomeWindow.activity) {
            Ti.API.error("Can't access action bar on a lightweight window.");
        } else {
            actionBar = streetAlertzHomeWindow.activity.actionBar;
            if (actionBar) {

                actionBar.title = "Street Alertz";
                actionBar.icon = "images/appicon.png";

//Create action bar when the window opens
streetAlertzHomeWindow.activity.onCreateOptionsMenu = function(e) { 
    var menu =;
    var menuItem = menu.add({ 
        title : "Settings", 
        icon : "images/ic_action_settings.png", 
        showAsAction : Ti.Android.SHOW_AS_ACTION_ALWAYS
    menuItem.addEventListener("click", function(e) { 
        alert('Menu item was clicked was clicked!');
    var menuItem1 = menu.add({ 
        title : "Add Contacts", 
        icon : "images/ic_action_settings.png", 
        showAsAction : Ti.Android.SHOW_AS_ACTION_NEVER
    menuItem1.addEventListener("click", function(e) {;

Im really new to this so any advice would be excellent

How to change actionBar icon size?

The actionBar icon should like image When the device resolution is 1920×1080 and android 4.2 above, the icon size looks very small: image (android 4.1 is correct) My problem seems like i-want-to-chang

Cordova showing white screen when appis installed in 4.4.2 android version

Cordova showing white screen when app is installed in 4.4.2 android version devices and it is working fine in ios devices and 4.4.2 android version device and in 4.4.2 it was showing error in console

Circular overflow icon for Android ActionBar

How to get the 3-circles overflow icon (instead of default 3 little squares overflow icon) in the Android ActionBar? Examples – Google+ app, Twitter app

Android – add icon in actionbar

I need to add an icon at the top right of the menu in the ActionBar when an item is selected from the NavigationDrawer menu. So I have create a new file called for example ‘blog’ that extends Fragment

android actionbar searchview icon change

I need to know how can I change actionbar searchview icon when click on it? I’m currently using Theme.Holo.Light and I don’t want to change this theme anymore. Is there anyway can change SearchView

Android ActionBar three dot icon not showing up

i have an action bar . i am adding 5-6 items. when i set ShowAsAction =never , items goes into the old styled menu which appears from bottom of the screen while i want the three dot styled icon to a

Menu icon in actionbar not showing

In my Android app, I show the actionbar and normally in the far left is my app’s logo and to the left of the logo is the icon that lets you display the navigation drawer. This icon is typically 3 hori

Android – Click on ActionBar app icon, create new activity instance

I have an ActionBar in my Android app (API Level 14). There is a home button with my app icon. In MainActivity I write a short Text in an EditText View. When I navigate to PreferenceActivity the icon

Android: dynamically change ActionBar icon?

I would like to dynamically change the home icon in the ActionBar. This is easily done in v14 with ActionBar.setIcon(…), but I can’t find anyway to accomplish this in previous versions.

Android ActionBar – Item icon change continuously?

On my ActionBar there is one item that has an icon about a star(without filled). When the user clicks on it, the icon changes to another icon(filled star). But the problem is that if the user cliccks