'ActionbarSherlock - customize submenu on item? (like in Chrome & Opera for mobile)

I am working on an application and using ActionbarSherlock as my actionbar and would like to know how can I customize my submenu of an item like in Chrome & Opera for mobile. Here's a photo of what I would like:

Chrome- enter image description here

Opera- enter image description here

How can I do it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source