问题
I want to make a popup menu with an arrow.
I saw there are many tooltip libraries similar to this which have a similar layout but support only text. There is this library but that is very old and has depricated code. There are two other libraries but they have horizontal menus with jagged edges with no text.
I am trying to add a customview to the popup menu anchored to a view with an arrow pointing towards the view something like this.
https://ibb.co/ftjnjCd
Alternatively I inflated a layout with a background with an arrow and added constraints progmatically but that is not what I am going for.
来源:https://stackoverflow.com/questions/54529577/how-to-add-a-popup-menu-with-a-customlayout-with-pointer-arrow-and-anchor-it-to