2017-07-17 31 views

回答

1

簡單地做:

public native int getScreenWidth() /*-{ 
    return screen.width; 
}-*/; 

public native int getScreenHeight() /*-{ 
    return screen.height; 
}-*/ ; 
相關問題