android – Nexus 9 – 2014的资源配置是什么?

我想知道Nexus 9的资源配置是什么?它会像Nexus 10一样sw720dp吗?

GSMArena说它是1536 x 2048像素,8.9英寸(~281 ppi像素密度),所以我猜它会是xhdpi而dp的宽度因此是768,所以应该属于sw720dp.但是,我不确定,并希望与那些知情人士确认.

此外,它是否是一个看起来像在风景中使用而不是肖像的设备?目前对于sw720dp,我的应用程序中某个屏幕的认方向是横向,并且想知道它是否也适用于Nexus 9.

解决方法

根据Android开发者博客上的 Getting Your Apps Ready for Nexus 6 and Nexus 9帖子,Nexus 9有:

(…) a screen size of 2048 x 1536 pixels (288 ppi),which translates
to 1024 x 768 dip
. This is a 4:3 aspect ratio,which is unique
compared to earlier tablets. The Nexus 9 falls into the xhdpi density
bucket,and you should already have assets in the drawable-xhdpi
folder.

所以,是的sw720dp似乎是正确的.

关于方向,它说:

It’s very important that you don’t lock your app to a single
orientation. The Nexus 9’s natural orientation is portrait mode,while it’s used in landscape mode with the keyboard.

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...