menu

August 28, 2012   ·   0 Comments

Screen Shot 2012-09-15 at 11.14.08 PM

[/php]
@Override
public boolean onCreateOptionsMenu(Menu menu) {
menu.add(0, 1, 1, “11”);
menu.add(0,2,2,”222″);
return super.onCreateOptionsMenu(menu);
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
if(item.getItemId() == 1){
finish();
}

return true;
}

shareShare on FacebookShare on Google+Share on LinkedInEmail this to someonePrint this pageBuffer this pageDigg thisFlattr the authorShare on RedditPin on PinterestShare on StumbleUponShare on TumblrTweet about this on Twitter

By


Readers Comments (0)


You must be logged in to post a comment.

PowenKo’s Online Store

powenko_arduinoBook
Android7

Amazon

adsbygoogle

Recent Posts

Categories

Amazon