package com.example.wireframe;import android.content.Context;import android.graphics.Canvas;import android.graphics.Paint;import android.graphics.Pain...
分类:
其他好文 时间:
2014-08-09 21:02:29
阅读次数:
233
block extends include三者的差别跟用法一、定义基础模板,在html内容中定义多个block块,block由子模板引用同名block块,来决定是否替换这些部分{% block title %}一些内容,这里可不填{% endblock %}{% block content %}一些...
分类:
其他好文 时间:
2014-08-09 18:31:08
阅读次数:
707
{ "fieldName": "photo", "originalFilename": "1395130808991.jpg", "path": "tmpupload/25546-z8u01y.jpg", "headers": { "content-dispos...
分类:
Web程序 时间:
2014-08-09 18:26:28
阅读次数:
336
android 4.4 framework notification layout 相关字体大小* title: notification_title_text_size: 18dp* content: notification_text_size: 14dp* subtext:...
分类:
移动开发 时间:
2014-08-09 18:11:08
阅读次数:
215
package com.ango.deskclock;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.HandlerThread;
/**
* Helper class for managing the background...
分类:
其他好文 时间:
2014-08-09 15:55:18
阅读次数:
201
1 .Content Hugging Priority代表控件拒绝拉伸的优先级。优先级越高,控件会越不容易被拉伸。
而下面的Content Compression Resistance Priority代表控件拒绝压缩内置空间的优先级。优先级越高,控件的内置空间会越不容易被压缩...
分类:
其他好文 时间:
2014-08-09 13:30:27
阅读次数:
170
三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的dockstyle属性大体一致。设置一个顶部布局或...
分类:
移动开发 时间:
2014-08-09 11:25:07
阅读次数:
215
nagios借助check_hpasm插件监控惠普服务器硬件信息:http://labs.consol.de/wp-content/uploads/2011/10/check_hpasm-4.3.tar.gz被监控端:$sudotarzxfvcheck_hpasm-4.3.tar.gz$cdcheck_hpasm$./configure--enable-hpacucli--enable-perfdata--enable-extendedinfo$sudomake$su..
分类:
移动开发 时间:
2014-08-09 02:50:08
阅读次数:
346
2.Eclipse for android 设置代码提示功能(1)设置 java 文件的代码提示功能打开 Eclipse 依次选择 Window > Preferences > Java > Editor – Content Assist > Auto activation triggers for...
分类:
系统相关 时间:
2014-08-08 21:08:36
阅读次数:
302
$.kw = { title : "System information", //默认标题 可修改 speed : 400, //默认速度 可修改 buttonName : "确定", //确定按钮默认名称 可修改 content : "Co...
分类:
移动开发 时间:
2014-08-08 20:46:16
阅读次数:
213