title: How to make option menu appear on bottom of the screen?
body: <p>Here is what I am trying to implement: when people click on the menu on top right corner of a toolbar, an options menu appears on bottom of the screen. See picture below:</p>
  
  <p><a href="https://i.stack.imgur.com/dodHZ.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/dodHZ.jpg" alt="enter image description here"></a></p>
  
  <p>I am not sure what method should I call for the item at the bottom. Can somebody give me some hint on how to implement this?</p>
  
  <p>I implement successfully the icon in the top right menu bar with the code below. But I don't know how to show the options at the bottom of the screen, with width <code>match_parent</code>, and height <code>wrap_content</code></p>
  
  <p><strong>onClick on the right top corner</strong></p>
  
  <pre><code>    @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.edit_profile_image_menu, menu);
          return true;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          int id = item.getItemId();
  
          switch (id) {
              case R.id.more:
                  //How to show the 2 option in the bottom of screen here
  
  
                  return true;
          }
  
          return super.onOptionsItemSelected(item);
      }
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>After implement the code of Nikesh, the popup shown like this:</p>
  
  <p><a href="https://i.stack.imgur.com/IkSKw.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/IkSKw.jpg" alt="enter image description here"></a></p>