本文介绍了索尼Xperiaž密度似乎很奇怪对我来说,它的服务将我的应用程序工作正常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发用于学校项目的应用程序。我的教授有索尼Xperia Z和它将会测试我的应用程序,所以我想确保我的应用程序将工作最完美的索尼Xperia Z.我已成立了一个索尼XperiažAVD在Eclipse和结果非常奇怪的是诚实的。

I'm developing an app for school project. My professor has Sony Xperia Z and will be testing my app on it, so I'm trying to make sure that my app will work most perfectly on Sony Xperia Z. I have set up a Sony Xperia Z AVD in Eclipse and the results are really odd to be honest.

这是应用程序布局的外观上大多数设备:

This is how the app layout looks on most devices:

这是它的外观,当我在索尼Xperiaž模拟器中运行它,如:

And this is how it looks like when I run it on Sony Xperia Z emulator:

我做了一些研究和索尼Xperiaž确实有比其他手机有很多小的密度,而应该一切真的这个小?如果这是真的,应用程序将如何看起来像索尼Xperia Z,我该如何解决?难道只是要得到解决,创建不同密度的图标?但后来如何解决文字大小?关于索尼Xperia Z上的文本,如果它保持不变勉强可读的。

I did some research and Sony Xperia Z really does have a lot smaller density than the other phones, but should everything really be this small? If this is really how the app will look like on Sony Xperia Z, how do I fix it? Is it simply going to get fixed by creating different density icons? But then how do I fix the text size? The text on Sony Xperia Z will be barely readable if it stays the same.

推荐答案

索尼XperiaŽ使用xhpdi所以把你的资源xhpdi你可以把在屏幕尺寸的X大的布局。如果你想测试你的应用程序在模拟器你可以使用这个的

Sony Xperia Z use xhpdi so put your resources in xhpdi and you can put your layout under screen size X-large. If you want to test your app in emulator you can use this http://developer.sonymobile.com/knowledge-base/sony-add-on-sdk/install-the-sony-add-on-sdk/

这篇关于索尼Xperiaž密度似乎很奇怪对我来说,它的服务将我的应用程序工作正常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 14:32