为什么Android的的Nexus 7的虚拟设备无法装入我的"大"布局资源? [英] Why does Android's Nexus 7 virtual device not load my "large" layout resources?
问题描述
在AVD使用的Nexus 7,我的布局大
资源没有被加载。我认为7英寸设备掉进了大的范畴。我有一个物理设备,银河3精简版,它为7英寸,并加载了我的大的资源。我会发布一些XML,但我觉得它应该是一个直接的七英寸是认为是大的问题...谢谢!
Using the Nexus 7 in AVD, my layout-large
resources are not being loaded. I thought that 7-inch devices fell into the "large" category. I have a physical device, the Galaxy 3 Lite, which is 7 inches and loads my "large" resources. I would post some XML, but I feel it should be a straight-forward "7 inches is considered large" issue... Thanks!
编辑:预期的大布局在我Genymotion仿真器使用。那么,为什么不能在AVD?
The expected "large" layout is used in my Genymotion emulator. So why not in the AVD?
推荐答案
我有同样的问题和解决方案存在:
I had the same problem and the solution exists :
您必须在走在 AVD管理器 => 修改了Nexus 7,设置=> 显示高级设置 =>把自定义皮肤定义为无
you have to to go in the AVD Manager => Edit the Nexus 7 Settings => Show Advanced Settings => Put the Custom Skin Definition to None
这时手机是丑陋的,但布局大时使用。
Then the phone is ugly but the layout-large is used.
我想同样的事情可以应用于具有此错误其他手机
And I think the same thing can be applied for other phones that have this bug
这篇关于为什么Android的的Nexus 7的虚拟设备无法装入我的"大"布局资源?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!