gpt4 book ai didi

java - Galaxy Note 布局问题

转载 作者:行者123 更新时间:2023-11-30 11:46:30 24 4
gpt4 key购买 nike

我正在开发一个软件,但现在我遇到了 Galaxy Note 的问题。如何在模拟器中模拟 Galaxy Note 的实际大小?我将资源放在文件夹名称中:layout-large-port-xhdpi-1280x800。但是当我在模拟器中运行我的程序时,我发现小部件不在正确的位置。那不是我设计的。是一些教程,我看到用户在谈论 Scale!!但我找不到设置比例的任何地方...请帮助我:)

我的模拟器配置:

resolution: 800*1280
density:285

最佳答案

你有更新你的 galaxy note 吗???

这是您将在原始 Galaxy Note 上看到的内容(与 Gingerbread 一起提供)

Screen pixel density (dpi) - xhdpi
Screen size - large
Screen aspect - long
Most of the other tablets (7 inch and 10.1 inch tablets) are mdpi.

此设备将从大型资源类别中选取值,因为大小优先于密度。

ICS更新后,设备分类如下。

Screen pixel density (dpi) - xhdpi
Screen size - normal
Screen aspect - not long

关于java - Galaxy Note 布局问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9722798/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com