I am new to Android development and trying to figure out how to display the NewQuickAction3D popup dialog with a specific coordinate in the view. I integrate a popup with this tutorial . Essentially, I want to use a popup dialog box to display the data that users touch, instead of painting on canvas using "infoview". Currently, a popup is displayed at the top and center of the view to which I snap it. How can I get this to display a specific coordinate? Any help is greatly appreciated.
MY 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);
EDIT
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();
source share