Android:用于布局的三星 Galaxy S3 屏幕尺寸

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11036158/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 05:49:12  来源:igfitidea点击:

Android: Samsung Galaxy S3 screen size for layout

androidandroid-layoutandroid-screen

提问by rustyWhitefeather

Is anyone out there testing on a Samsung Galaxy S3 yet? Specifically, does it have what is considered a large or normal screen for layout purposes? I have the Galaxy Nexus and it takes normal layouts, but I read the Galaxy Note is considered a large screen. Thanks in advance.

有没有人在三星 Galaxy S3 上进行测试?具体来说,它是否具有用于布局目的的大屏幕或普通屏幕?我有 Galaxy Nexus,它采用正常布局,但我读到 Galaxy Note 被认为是大屏幕。提前致谢。

采纳答案by gobernador

Here's a linkto the complete specifications for the European version of the Samsung Galaxy S3. The screen is 720 x 1280 pixels and 4.8 in. diagonal. The American version is the same as far as the screen goes.

这是三星 Galaxy S3 欧洲版完整规格的链接。屏幕为 720 x 1280 像素和 4.8 英寸对角线。就屏幕而言,美国版本是相同的。

回答by tomash

As owner of Samsung Galaxy S3 I confirm - it is "normal" screen, not "large" one. Also "xhdpi" when it comes to density.

作为三星 Galaxy S3 的拥有者,我确认 - 它是“普通”屏幕,而不是“大”屏幕。在密度方面也是“xhdpi”。

回答by Akash Bane

Samsung S3 takes images from drawable-sw360dp and layout files from layout-sw360dp folder only...

三星 S3 仅从 drawable-sw360dp 和 layout-sw360dp 文件夹中的布局文件中获取图像...

回答by Broak

all phones will use the drawable folder by default if no others are specified, but officially you should use xhdpi and hdpi for these

如果没有指定其他手机,默认情况下所有手机都将使用 drawable 文件夹,但正式您应该使用 xhdpi 和 hdpi

回答by Zeus Monolitics

Create a layout specifyc for Galaxy S3. Android S3 layout vs Galaxy Nexus layout

为 Galaxy S3 创建一个指定的布局。Android S3 布局与 Galaxy Nexus 布局