#include #include int main(){ HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE); WORD wOldColorAttrs; CONSOLE_SCREEN_BUFFER_INFO csbiInfo; /* ...
分类:
其他好文 时间:
2014-07-30 11:59:33
阅读次数:
199
ListActivity has a default layout that consists of a single, full-screen list in the center of the screen. However, if you desire, you can customize t...
分类:
其他好文 时间:
2014-07-30 11:45:33
阅读次数:
314
关于webApp响应式设计遇到的问题,分享给大家,最近在做一个手机webApp,因为我手机是”米3“,屏幕截图大小是1080宽,所以css样式用 @media screen and(min-width:1080px){ ...... },来判断屏幕最小宽度是1080px的手机web显示什么样的样式....
分类:
移动开发 时间:
2014-07-29 16:52:32
阅读次数:
201
在做一个程序的时候,需要时刻保持某一服务是启动的,因此想到了通过监听屏幕SCREEN_ON和SCREEN_OFF这两个action。奇怪的是,这两个action只能通过代码的形式注册,才能被监听到,使用AndroidManifest.xml 完全监听不到。查了一下,发现这是PowerManager那...
分类:
其他好文 时间:
2014-07-29 10:55:16
阅读次数:
203
ScenesScenes in a storyboard represent content shown within one screen in your application. A scene involves a view controller and the views that make...
分类:
其他好文 时间:
2014-07-28 14:39:43
阅读次数:
334
1、基本概念屏幕大小(screen size) – 屏幕的实际大小,用屏幕对角线长度来衡量(比如3.4寸,3.8寸)。android把屏幕分为以下4种:small,normal,large,extra large。怎么判断?屏幕密度(Screen Density) - 一块实际的屏幕区域有多少个像....
分类:
移动开发 时间:
2014-07-28 14:31:23
阅读次数:
240
1.屏幕尺寸(screen size)就是我们平常讲的手机屏幕大小,是屏幕的对角线长度,一般讲的大小单位都是英寸。比如iPhone5S的屏幕尺寸是4英寸。Samsung Note3是5.7英寸。2.像素(pixel)想像把屏幕放大再放大,对!看到的那一个个小点或者小方块就是像素了。3.分辨率(Res...
分类:
移动开发 时间:
2014-07-28 11:19:50
阅读次数:
312
一、屏幕切换点击屏幕Screen1中的Button1按纽时,将打开屏幕Screen2,并传递参数startValue;屏幕Screen2中的接收参数并在标签Label1上显示。二、弹出选择对话框BackPressed事件:当按返回键时cancelable:表示是否出现“Cancel”按纽。choic...
分类:
其他好文 时间:
2014-07-27 23:24:41
阅读次数:
219
package com.kale.screen;import android.annotation.SuppressLint;import android.app.Activity;import android.graphics.Point;import android.os.Bundle;impo...
分类:
移动开发 时间:
2014-07-27 22:23:29
阅读次数:
196
用惯了cacti的童鞋们,估计都对cacti的树形视图情有独钟,连我们的网络工程师都抱怨,zabbix没有cacti直观的界面。
本来,我在每个host的模板里面都加了screen,虽然麻烦点吧,总归有了直观的显示。
但是前几天,介于偷懒的想法,修改了所有机器的模板,网卡一类统一启动..
分类:
其他好文 时间:
2014-07-23 21:19:26
阅读次数:
242