Of course, I use the below APIs. My question is why the value is not 1960*720. Thanks.
On 2月15日, 下午4时03分, Seshu <[email protected]> wrote: > Hi... u ll get the device width and height by using Display.. > > check ths one.. > > Display display = getWindowManager().getDefaultDisplay(); > int targetWidth = display.getWidth(); > int targetHeight = display.getHeight(); > > Thanks and Regards, > S.Seshu > > On Feb 15, 12:55 pm, chen ji <[email protected]> wrote: > > > > > Hi All, > > > If I use DisplayMetrics to get galaxy nexus (ICS )'s screen's width & > > Height, I found a very strange thing. It is 1184x720 if I set miniSDK > > = 8 and it is 1196*720 if I set miniSDK =7. And actually I think it > > should be 1960*720. > > Anyone can give some advices? > > > Thanks, > > > Ji- 隐藏被引用文字 - > > - 显示引用的文字 - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

