title: Custom Menu on button click as drop down
body: <p>I am trying to implement the action bar functionality of the flipkart app.<img src="https://i.stack.imgur.com/XQwyp.png" alt="Flipkart App screenshot">. </p>
  
  <p>For this I have successfully created a custom Action Bar but I am facing problems in showing the menu as drop down on overflow icon click.</p>
  
  <p>If I try <a href="https://stackoverflow.com/a/5533774/1979347">Android Option Menu on button click</a> then on I am getting the menu without icons (4.2.2) at the bottom center of my screen. Using a custom dialog or alert dialog fades the background and they also appear on the center of the screen.</p>
  
  <p>What should I do to get the functionality similar as shown in the image above?</p>