How to force PopupMenu to overlap anchor? I would like to recreate something similar to this:
Setting overlapAnchor allowed me to overlap anchor view without setting offset:
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="popupMenuStyle">@style/PopupMenu</item>
</style>
<style name="PopupMenu" parent="@style/Widget.AppCompat.Light.PopupMenu">
<item name="overlapAnchor">true</item>
</style>
The PopupMenu wraps a ListPopupWindow inside it. This ListPopupWindow wraps AppCompatPopupWindow using this overlapAnchor attribute. All this in the support library.