Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

横屏时如何修改hotseat位置? #13

Closed
zhenghx1105 opened this issue Apr 24, 2015 · 6 comments
Closed

横屏时如何修改hotseat位置? #13

zhenghx1105 opened this issue Apr 24, 2015 · 6 comments

Comments

@zhenghx1105
Copy link

Launcher3 横屏时默认hotseat位置在左边,怎么调整到左边或是底部?谢谢。

@fookwood
Copy link
Owner

平板上么?

@zhenghx1105
Copy link
Author

手机,AndroidMainfest.xml 调成可以自动旋转屏幕

@fookwood
Copy link
Owner

建议研究下DynamicGrid的layout方法

@zhenghx1105
Copy link
Author

thx! 这个我研究过了 修改里面hotseat的gravity=Gravity.LEFT。
但是会出现一个问题,修改横屏hotseat在左边的时候 长按hostseat图标的时候 放开及时我不拖动默认会把hotseat的快捷图标放在worksapce上 好奇怪的问题。可能还有一些地方需要修改

@fookwood
Copy link
Owner

你可以跟踪下workspace的onDrop方法,看看为啥放到了workspace上

@zhenghx1105
Copy link
Author

主要可能没有修改完全,造成长按时候造成hotseat默认图标位置为不可放置,找到临近的workspace的位置为放置,手指移开就放到worksapce里了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants