HTC Flyer 上的显示问题

发布于 2024-12-06 07:24:15 字数 439 浏览 3 评论 0原文

我开发了一个应用程序并以不同的布局创建了xml文件:

  • 布局大
  • 布局大1024x600
  • 布局正常
  • 布局正常480x320
  • 布局正常640x360
  • 布局正常640x480
  • 布局正常800x480
  • 布局小
  • 布局小-320x240
  • 布局小-400x240

我已经在五种不同的 Android 设备上测试了该应用程序,它可以工作好的4。在 HTC Flyer(分辨率 1024x600)上,结果不太好。图标太少了,位置不对……

在1024x600分辨率的eclipse图形布局预览中,结果还可以。我不明白为什么传单上的结果不好。

我的所有图像都在drawable-hdpi 文件夹中。

任何帮助将不胜感激!

I have developed an application and created the xml files in different layout :

  • layout-large
  • layout-large-1024x600
  • layout-normal
  • layout-normal-480x320
  • layout-normal-640x360
  • layout-normal-640x480
  • layout-normal-800x480
  • layout-small
  • layout-small-320x240
  • layout-small-400x240

I have tested the application on five different android devices and it works ok on 4 of it. On the HTC Flyer (resolution 1024x600) the result is not ok. The icon are too little not in the right place...

In the eclipse graphical layout preview of the 1024x600 resolution, the result is ok. I don't understand why the result on the Flyer is not ok.

I have all the image in the drawable-hdpi folder.

Any help would be appreciated !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兮子 2024-12-13 07:24:15

问题是我将 600x1024 7.0 显示器定义为 HDPI 而不是 MDPI。现在工作正常了。

The problem was that I defined the 600x1024 7.0 display as HDPI instead of MDPI. Now it works OK.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文