0

我正在开发一个 android 应用程序,还没有layout-large为我的应用程序的方向开发布局。我想知道除了定义这种屏幕密度的 7 英寸平板电脑之外,是否有人有任何设备类型的详细信息。这是用于 Note 或 Note 2 的屏幕布局吗?

4

2 回答 2

1

You should read through Android's Supporting Multiple Screens document. Especially How to Support Multiple Screens and Configuration Examples.

Basically it comes down to this: unless you know that your users have specific device(s), you really shouldn't try to design to specific devices. Instead, design to specific sizes in density-independent pixels (e.g. my tablet layout requires a minimum of 600dp in width to be useful). Then you code your app to change layouts based on some inflection points.

If you're just looking for a general starting point, Google recommends a minimum screen width of 600dp for a 7" tablet and 720dp for a 10" tablet. Anything less than 600dp becomes a "phone" layout.

于 2013-01-07T17:52:29.550 回答
1

不,Note / Note 2 使用 320dpi,这是大多数手机的正常布局,平板电脑使用 240dpi 或更低 (192dpi)。但在大多数情况下,布局会自动调整大小。

于 2013-01-07T17:42:15.613 回答