title: Create Options Menu for RecyclerView-Item
body: <p>How do I create an Options Menu like in the following Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/wxPNk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wxPNk.png" alt="enter image description here"></a></p>
  
  <p>The Options Menu should be opened afther clicking on the "More"-Icon of a RecyclerView Item!</p>
  
  <p>My try was this:</p>
  
  <pre><code>@Override
  public void onBindViewHolder(Holder holder, int position) {
      holder.txvSongTitle.setText(sSongs[position].getTitle());
      holder.txvSongInfo.setText(sSongs[position].getAlbum() + " - " + sSongs[position].getArtist());
  
  holder.btnMore.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View v) {
              Toast.makeText(mContext, "More...", Toast.LENGTH_SHORT).show();
          }
      });
  }
  </code></pre>
  
  <p>But this causes problems because the full item is clicked if I touch on the RecyclerView Item More-Button...</p>
  
  <p>Here's my RecyclerViewOnTouchListener:</p>
  
  <pre><code>public class RecyclerViewOnTouchListener implements RecyclerView.OnItemTouchListener {
      private GestureDetector mGestureDetector;
      private OnTouchCallback mOnTouchCallback;
  
      public RecyclerViewOnTouchListener(Context context, final RecyclerView recyclerView, final OnTouchCallback onTouchCallback) {
          mOnTouchCallback = onTouchCallback;
  
          mGestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() {
              @Override
              public boolean onSingleTapUp(MotionEvent e) {
                  return true;
              }
  
              @Override
              public void onLongPress(MotionEvent e) {
                  View child = recyclerView.findChildViewUnder(e.getX(), e.getY());
  
                  if (child != null &amp;&amp; onTouchCallback != null) {
                      onTouchCallback.onLongClick(child, recyclerView.getChildLayoutPosition(child));
                  }
  
                  super.onLongPress(e);
              }
          });
      }
  
      @Override
      public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) {
          View child = rv.findChildViewUnder(e.getX(), e.getY());
  
          if (child != null &amp;&amp; mOnTouchCallback != null &amp;&amp; mGestureDetector.onTouchEvent(e)) {
              mOnTouchCallback.onClick(child, rv.getChildLayoutPosition(child));
          }
  
          return false;
      }
  
      @Override
      public void onTouchEvent(RecyclerView rv, MotionEvent e) {
  
      }
  
      @Override
      public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) {
  
      }
  
      public interface OnTouchCallback {
          void onClick(View view, int position);
          void onLongClick(View view, int position);
      }
  }
  </code></pre>
  
  <p>I wasn't able to find any similar problem so I hope you can help me!</p>