Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzaitsev committed Jan 29, 2015
1 parent 2d2bec0 commit 8fed32f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Check this [project on Behance] (https://www.behance.net/gallery/20411445/Mobile
#### 2. Create list of `MenuObject`, which consists of icon or icon and description.

```
ArrayList<MenuObject> menuObjects = new ArrayList<>();
ArrayList<MenuObject> menuObjects = new ArrayList<>();
menuObjects.add(new MenuObject(R.drawable.icn_close));
menuObjects.add(new MenuObject(R.drawable.icn_1, "Send message"));
menuObjects.add(new MenuObject(R.drawable.icn_2, "Like profile"));
Expand All @@ -37,7 +37,7 @@ ArrayList<MenuObject> menuObjects = new ArrayList<>();
#### 4. Set menu with button, which will open `ContextMenuDialogFragment`.

```
@Override
@Override
public boolean onCreateOptionsMenu(final Menu menu) {
MenuInflater inflater = getMenuInflater();
inflater.inflate(R.menu.menu_main, menu);
Expand Down

0 comments on commit 8fed32f

Please sign in to comment.