Hi,
I'm trying to remove one of the two button on my activitybar. I have seen that there is function called removeItem(..) that takes the itemId of the corresponding bar button. I have created a menu item with itemId 1 and now I'm trying to call the removeItem(..) function from outside the onCreateOptionsMenu listener. Does anyone know how can I access the actionbar's menu list ?
Thanks, G.