摘要: 方法一: WindowManager wm = (WindowManager) this.getSystemService(Context.WINDOW_SERVICE); int width = wm.getDefaultDisplay().getWidth(); int height = wm.getDefaultDisplay().getHeight(); 方法二: WindowMana... 阅读全文
posted @ 2016-06-01 11:02 冷的锋刃 阅读(298) 评论(0) 推荐(0)
摘要: // <![CDATA[ function runcode(){ var win = window.open();win.document.write($('.runcode').val());} // ]]> <!DOCTYPE html> <meta http-equiv="Content-Ty 阅读全文
posted @ 2016-06-01 07:39 冷的锋刃 阅读(144) 评论(0) 推荐(0)