开发者

Android Display Metrics in Landscape Mode

When an Android device is tilted and goes from portrait to landscape mode, do the values returned in the DisplayMetrics object (i.e., from getDisplayMetrics()) reflect that in that widthPixels now has the larger dimen开发者_运维百科sion and heightPixels the smaller?


Yes, it does. Why didn't you test by your self?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜