• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps screen.height not correct -> emulator problem/js problem

mcshen

Lurker
Hello

I am using javascript to dynamically resize a div in my page. However, it seems to me that screen.height is not returning the value in android emulator 2.2 api 8.

However, screen.width seems to be correct.

Any idea? Is this a known emulator problem?
I am getting the height of the viewable area with the following javascript:
screen.height
 
Back
Top Bottom