1. Check out our app, Forums for Android! Download and leave feedback here!

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

Discussion in 'Application Development' started by mcshen, Sep 1, 2010.

  1. mcshen

    mcshen New Member
    Thread Starter
    5

    Sep 1, 2010
    1
    0
    5
    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
     

    Advertisement

Share This Page

Loading...