Skip to content

Instantly share code, notes, and snippets.

View luthfihariz's full-sized avatar
🏠
Working from home

Luthfi Hariz luthfihariz

🏠
Working from home
View GitHub Profile
@luthfihariz
luthfihariz / NewsActivity.java
Created December 7, 2012 15:52
Submenu with Action Bar Sherlock
//here code before...
public boolean onCreateOptionsMenu(Menu menu) {
getSupportMenuInflater().inflate(R.menu.article_menu, menu);
return super.onCreateOptionsMenu(menu);
}
public boolean onOptionsItemSelected(