开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜