imageview一般情况下为矩形,如果需要现实为圆角或者圆形还需要进行一番处理,这里自定义了一个imageview,可以修改角度来显示圆角图片 1 import android.content.Context; 2 import android.graphics.Bitmap; 3 impo...
分类:
其他好文 时间:
2014-08-12 12:47:24
阅读次数:
263
MyBatis的动态SQL是根据OGNL表达式的,号码大全它能够协助咱们方便的在SQL句子关键词挖掘工具中完成某些逻辑。MyBatis中用于完成动态SQL的元素首要有:ifchoose(when,otherwise)trimwheresetforeachif即是简略的条件判别,运用if句子咱们能够完成某些简略的条件挑眩先来看如..
分类:
数据库 时间:
2014-08-12 10:30:34
阅读次数:
302
1.HTTP:hyper text transmit protocal (超文本传输协议) 以下为利用http创建一个sever并连接相应的网页类容 http.createServer(function(request, response) { response.writeHead(200, {"Content-Type": "text/p...
分类:
Web程序 时间:
2014-08-12 00:52:43
阅读次数:
231
Statements: This blog was written by me, but most of content is quoted from book【Data Structure with Java Hubbard】
【Description】
Apolynomialis a mathematical function of the fo...
分类:
其他好文 时间:
2014-08-11 21:22:42
阅读次数:
308
layout_width and layout_heigth 本框与外框之间的关系;属性有fill_parent,wrap_content,match_parent三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一...
分类:
其他好文 时间:
2014-08-11 20:27:22
阅读次数:
209
/**
* 判断桌面是否已经存在快捷方式
*/
private boolean isExit() {
Uri uri = null;
if (android.os.Build.VERSION.SDK_INT < 8) {
uri = Uri.parse("content://com.android.launcher.settings/favorites");
} els...
分类:
移动开发 时间:
2014-08-11 18:02:02
阅读次数:
220
html代码 js代码$.get("get.php",{username:$("#username").val(),content:$("#content").val(),password:$("#password").val()},function(data,textSta...
分类:
Web程序 时间:
2014-08-11 17:16:12
阅读次数:
262
1 #!D:\Python27\2 3 print 'Content-type: text/plain'4 print5 6 print 'Hello, world'出现错误The server encountered an internal error or misconfiguration an...
分类:
移动开发 时间:
2014-08-11 17:07:02
阅读次数:
278
<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>阴影文字</title></head><body><divstyle="font-size:36pt;font-family:Arial;color:red;position:relative;filter:blur(add=1,direction..
分类:
Web程序 时间:
2014-08-11 15:24:33
阅读次数:
187
界面:
删除
导出
后台:
///
/// 导出到EXCEL
///
public void toExcel()
{
string content = Request.Cookies["getPinfoIdL...
分类:
Web程序 时间:
2014-08-11 15:08:42
阅读次数:
227