结合闲时整理(3)------消息提示标签 BadgeView和闲时整理(4)--圆形TextView修改整理了CircleBadgeView这个类,标签是圆形的了,以前的标签是圆角矩形。
package com.glory.room.view;
import android.content.Context;
import android.content.res.Resources;
impo...
分类:
其他好文 时间:
2015-01-20 15:55:16
阅读次数:
236
There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a tile, he c...
分类:
其他好文 时间:
2015-01-20 13:31:48
阅读次数:
148
重写的TextView
package com.glory.room.view;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphic...
分类:
移动开发 时间:
2015-01-19 14:24:26
阅读次数:
219
// lession4.c#include #include #include #include #include /* ASCII code for teh escape key. */#define ESCAPE 27/* The number of our GLUT window */int ...
分类:
其他好文 时间:
2015-01-18 15:37:12
阅读次数:
175
java转义符我一直认为是很难理解的东西,我常常把\符号和/符号弄混,不知道那一个是转义符 。
在java语言中你要知道的\是一个讨厌一个人的物种,\总喜欢秀恩爱,一般都是成对出现的如\\,但是也会有少量的奇葩\不喜欢另一半\,他们喜欢其他的字符,这些奇葩的字符就和人类中的同性恋一样不和大多数人喜欢的一样,他们喜欢的是特别的,如\和b在一起表示字符的边界,\r在一起表示回车,\n表示换行 \t表...
分类:
编程语言 时间:
2015-01-16 19:10:00
阅读次数:
394
data:'title='+escape(title.value)+'&content='+escape(content.value),)使用escape编码,注意需要utf8。例如:data:'title='+escape(title.value)+'&content='+escape(conte...
分类:
Web程序 时间:
2015-01-15 18:06:56
阅读次数:
115
为什么要用转义字符串?HTML中,&等有特殊含义(,用于链接签,&用于转义),不能直接使用。这些符号是不显示在我们最终看到的网页里的,那如果我们希望在网页中显示这些符号,该怎么办呢?这就要说到HTML转义字符串(Escape Sequence)了。转义字符串(Escape Sequence)也称字符...
分类:
Web程序 时间:
2015-01-14 14:05:56
阅读次数:
214
添加如下函数即可:
BOOL CNVRServerDlg::PreTranslateMessage(MSG* pMsg)
{
//屏蔽掉键盘ESC键
if(pMsg-> message==WM_KEYDOWN && pMsg-> wParam==VK_ESCAPE)
return TRUE;
if(pMsg-> message==WM_KEYDOWN && ...
分类:
编程语言 时间:
2015-01-14 12:48:58
阅读次数:
182
1.C#根据当前时间获取,本周,本月,本季度等时间段2. js escape() 加密后 C#后台解码的方法
分类:
其他好文 时间:
2015-01-13 19:36:20
阅读次数:
103
JavaScript中有三个可以对字符串编码的函数,分别是: escape,encodeURI,encodeURIComponent,相应3个解码函数:unescape,decodeURI,decodeURIComponent 。下面简单介绍一下它们的区别1. escape()函数定义和用法esca...
分类:
Web程序 时间:
2015-01-13 14:10:51
阅读次数:
123