Disable tabBar highlight.

Is there a way or could Ansca please add a param to tabBar so we can disable the highlight on the active button. [import]uid: 13560 topic_id: 27446 reply_id: 327446[/import]

Just change these values with images of your choice:

[lua]up=“assets/tabIcon.png”,
down=“assets/tabIcon-down.png”,[/lua] [import]uid: 8271 topic_id: 27446 reply_id: 111515[/import]

I know that, tried it at first but I still think there should be a Bool for the highlight. I noticed in iOS6 that the tabBar changed in some apps and dont use the traditional design. So a Bool for the highlight would make that widget iOS6 ready. [import]uid: 13560 topic_id: 27446 reply_id: 111670[/import]

So, you want a bool to set the tab bar buttons /not/ to show a different image when a tab is selected? [import]uid: 8271 topic_id: 27446 reply_id: 111675[/import]

I want the bool to disable the greyish highlight when a tab is selected, not a bool for the up and down states of each button.

widget.newTabBar{  
 width = display.contentWidth,  
 height = 49,  
 top = display.contentHeight - 49,  
 background = "tabBar.png",  
 hasHighlight = false, -- this would disable the rounded rect highlight  
 highlightColor = {R, G, B, A}, -- this would also work, just set alpha to 0.  
 buttons = buttonsTbl  
}  

another option would be to set highlight color like I did above. [import]uid: 13560 topic_id: 27446 reply_id: 111679[/import]

That highlight is determined by your images. [import]uid: 8271 topic_id: 27446 reply_id: 111682[/import]

I’d like to know how to do this as well. I have the same image for both and I still get a “selected” look when I need to turn OFF the selected look.

It’s like you can set selected = true, but you can’t set it to false?

It isn’t determined by your images, tho you can change the icon this way. [import]uid: 169520 topic_id: 27446 reply_id: 122448[/import]

I’d like to know how to do this as well. I have the same image for both and I still get a “selected” look when I need to turn OFF the selected look.

It’s like you can set selected = true, but you can’t set it to false?

It isn’t determined by your images, tho you can change the icon this way. [import]uid: 169520 topic_id: 27446 reply_id: 122448[/import]