Android PopupWindow is hidden behind navigation buttons in Nexus 5

832 Views Asked by At

I have created a custom popup menu which is displaying fine on the S4 but the problem is that part of it gets hidden behind the navigation buttons on Nexus 5.

I have tried using the setSystemUiVisibility() but that doesn't help as the buttons reappear as soon as I touch the view.

I have tried looking for an answer but haven't had any luck.

1

There are 1 best solutions below

1
On

The amount of content in your PopupWindow likely exceeds the screen real estate. Consider using a ScrollView in your PopupWindow's inflated layout.