PopupWindow overlapping textView

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Jul 11, 2018, 11:20:13 PM via Website

I'm linking a PopupWindow to a TextView placed inside a ScrollView but when the view automatically scrolls to show the virtual keyboard the PopupWindow completely overlap the text box. If I manually scroll the view with the keyboard shown the PopupWindow moves automatically to the right place.

My actual code is the following:

popupBinding =
View suggestionView = popupBinding.getRoot();
PopupWindow suggestionPopup = new PopupWindow();

Is there a way to avoid the overlap?

Be the first to answer