Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Android - Remove ActionBar Button

$
0
0

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.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>