About position of the menu and spinner!
Is ther开发者_JAVA技巧e any way to change or to set the position of the menu or spinner's dropdown items? Why they always show in the center of the screen? How can I change it by my decision? Asking for help! Thanks FIRST!
I believe its not possible to change context menu position.
That's because windows were spinner items, dialogs, context menu are shown has floating feature turned on (i.e. isFloating()
returns true). And this is a feature, by the way.
You can override this using custom theme on your activity/application and windowIsFloating
attribute.
精彩评论