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

遇到一个问题华为荣耀8,用本方案无效,用了其他适配也无效,只有在布局中设置dp有效,但是dp放到value-1920*1080中还是无效,求助 #16

Closed
Payphone7 opened this issue Nov 24, 2017 · 7 comments

Comments

@Payphone7
Copy link

No description provided.

@Payphone7
Copy link
Author

改手机分辨率是1920*1080的

@Firedamp
Copy link
Owner

具体型号、系统版本、EMUI版本?

@Payphone7
Copy link
Author

解决了,华为手机虚拟键的事,需求那边不让隐藏虚拟键,很无语

@Firedamp
Copy link
Owner

-.-

@Payphone7
Copy link
Author

有没有好的设配这种有虚拟键手机的问题,我目前处理的是,多values,并且处理有虚拟键后的,例如1920x1080的华为手机,虚拟键不隐藏是1794x1080,然后建立两个values,方同样的dimens,但是可能需要处理很多分辨率,而且测试机有限,不知道可行不

@Firedamp
Copy link
Owner

Firedamp commented Nov 28, 2017

有无虚拟键盘 影响的只是高度,在高度的处理上多用一些相对位置,问题应该不大吧。没有必要写多份values吧

@Payphone7
Copy link
Author

好吧,虽然不太懂,但还是谢谢了,新手一枚,希望大神后期更新时候多多介绍一下虚拟键处理的事吧

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