打开终端输入xrandr得到如下信息Screen 0: minimum 320 x 200, current 2390 x 768, maximum 8192 x 8192LVDS connected primary 1366x768+1024+0 (normal left inverted rig...
分类:
系统相关 时间:
2015-04-01 16:59:57
阅读次数:
219
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,?WindowManager.LayoutParams.FLAG_FULLSCREEN);
?
//设置窗体始终点亮
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN...
最近开始学习GTK+图形界面编程了,先写一些非常基础的程序。这个程序实现的功能是:获取屏幕的分辨率。/* File: ScreenParam.c
* Date: Mon Mar 23 16:41:27 HKT 2015
* Describe: Print the screen resolution
* Autor: won
*/#include
#include <s...
分类:
其他好文 时间:
2015-03-31 22:20:33
阅读次数:
176
关于手机屏幕尺寸 参考文章:https://github.com/xiangpaopao/blog/issues/8screen.width和screen.height表示手机的分辨率window.outerWidth和window.outerHeight指浏览器外沿大小(而实际上在有些手机上的显示...
分类:
其他好文 时间:
2015-03-31 10:48:41
阅读次数:
147
Let’s imagine that you’re playing the following simple computer game. The screen displays n lined-up cubes. Each cube is painted one of m colors. You are allowed to delete not more than k cubes (that d...
分类:
其他好文 时间:
2015-03-31 09:16:05
阅读次数:
141
window对象location对象navigator对象screen对象history对象一、window对象1、全局作用域2、窗口关系及框架3、窗口位置4、窗口大小5、导航和打开窗口6、间歇调用和超时调用7、系统对话框二、location对象1、查询字符串参数2、位置操作三、navigator对...
分类:
其他好文 时间:
2015-03-30 15:56:23
阅读次数:
104
/*针对谷歌浏览器内核支持的CSS样式*/@media screen and (-webkit-min-device-pixel-ratio:0) {样式}/*针对IE6特制识别的CSS样式*/*HTML .SearchBox{样式}针对Firefox浏览器的内核CSS写法:@-moz-docume...
分类:
Web程序 时间:
2015-03-29 10:46:33
阅读次数:
217
一、故事板的导航特点不仅可以描述单个界面,还可以描述整体界面,界面跳转导航xib只能描述单个界面二、故事板中的Screen和Segue故事板概念来源电影,场景会有跳转Segue能够描述场景之间的跳转,跳转的方式,跳转的动画等
分类:
其他好文 时间:
2015-03-28 18:56:18
阅读次数:
166
应用程序图标 (Icon)应当是一个 Alpha 通道透明的32位 PNG 图片。由于安卓设备众多,一个应用程序图标需要设计几种不同大小,如: LDPI (Low Density Screen,120 DPI),其图标大小为 36 x 36 px。
MDPI (Medi...
分类:
移动开发 时间:
2015-03-28 15:53:41
阅读次数:
174
实现全屏的代码:
// 全屏显示
requestWindowFeature(Window.FEATURE_NO_TITLE);
//turning off the title at the top of the screen.
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.Lay...
分类:
移动开发 时间:
2015-03-27 22:25:15
阅读次数:
273