title: How Do I Position Custom Dialog at specific Coordinate?
body: <p>I'm a noob to android development and I am trying to figure out how to display the NewQuickAction3D popup dialog at a specific coordinate in a view.  I am integrating the popup with <a href="http://android-er.blogspot.com/2012/05/map-touch-position-with-mask-version-ii.html" rel="noreferrer">this</a> tutorial.  Essentially, I want to use the popup dialog to display data where the users touch instead painting on the canvas using "infoview"  Currently, the popup displays at the top&amp;center of the view that I anchor it to.  How can i make it display a particular coordinate?  Any help is greatly appreciated.</p>
  
  <p>MY CODE</p>
  
  <pre><code>public void updateMsg(String t_info, float t_x, float t_y, int t_c){
       infoView.updateInfo(t_info, t_x, t_y, t_c); //Infoview paints to on a specific coordinate
       quickAction.show(infoView); //How do I use the t_x &amp; t_y coordinates here instead of just anchoring infoview
  </code></pre>
  
  <p>EDIT</p>
  
  <pre><code>public void updateMsg(String t_info, float t_x, float t_y, int t_c){
       infoView.updateInfo(t_info, t_x, t_y, t_c);
       WindowManager.LayoutParams wmlp = quickAction.getWindow().getAttributes(); //Error here getting window attributes
       wmlp.gravity = Gravity.TOP | Gravity.LEFT;
           wmlp.x = 100;   //x position
           wmlp.y = 100;   //y position
       quickAction.show(infoView);
  }
  </code></pre>