码迷,mamicode.com
首页 >  
搜索关键字:screen    ( 3001个结果
Ubuntu 之旅—— 调整扩展屏分辨率
打开终端输入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
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,?WindowManager.LayoutParams.FLAG_FULLSCREEN); ? //设置窗体始终点亮 getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN...
分类:Windows程序   时间:2015-04-01 15:38:30    阅读次数:165
GTK编程:获取屏幕分辨率
最近开始学习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
media query
关于手机屏幕尺寸 参考文章:https://github.com/xiangpaopao/blog/issues/8screen.width和screen.height表示手机的分辨率window.outerWidth和window.outerHeight指浏览器外沿大小(而实际上在有些手机上的显示...
分类:其他好文   时间:2015-03-31 10:48:41    阅读次数:147
Codeforces Round #116 (Div. 2, ACM-ICPC Rules)---E. Cubes
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
《高级程序设计》BOM
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不兼容的写法
/*针对谷歌浏览器内核支持的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
【Android 个人理解(三)】从源码剖析如何实现实现全屏效果
实现全屏的代码: // 全屏显示 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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!