I'm not doing anything special with the menu. It's as simple as can be. I think I might know what could be causing the problem. I'm not sure how to handle it though.
What I think may be causing a problem could be a Sub I have.
Sub Activity_KeyPress (KeyCode As Int) As Boolean 'return true if you want to consume the event
If MyMsgBox.Visable Then
MyMsgBox.Close_Box
Return True
End If
End Sub
I notice the problem specifically after I display a message box and then close it. The 3 dot menu does not respond on the first click or touch. After the second click it will open the menu. I am wondering if Activity_Keypress is affecting it somehow. The reason for using Activity_Keypress with Msgbox is because I had problems that if a user opened a message box and then didn't click cancel or OK and did something else like click the on the menu then the Msgbox would get stuck on the screen and no matter what I did it would not close If you clicked on OK or Cancel buttons. So to prevent that from happening I use Activity_KeyPress to force close the msgbox automatically if the user does not close it before clicking on the 3 dot menu (button?). Would this be the right way to do this? It seems to work fine on my one device Galaxy s5(lollypop) but not on the note 8(Kitkat).
I'm still not sure this sub is causing the problem but it might have something to do with it.
I do a lot of testing of my app to try and make it fail in someway (find bugs). The problem with the msgbox was something I found if the user doesn't close it and tries to open the menu.