首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

银幕大小(转抄)

2012-09-28 
屏幕大小(转抄)int screenWidth,screenHeightWindowManager windowManager getWindowManager() Displa

屏幕大小(转抄)
int screenWidth,screenHeight; 
WindowManager windowManager = getWindowManager();
Display display = windowManager.getDefaultDisplay();   screenWidth = display.getWidth(); 
screenHeight = display.getHeight();

热点排行