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?
精彩评论