获得系统分辨率 /* 取得屏幕对象 */Display display= ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();/* 取得屏幕解析像素 */intScreenX = dm.widthPixels;intScreenY = dm.heightPixels;controlHeight = intScreenY/4;