码迷,mamicode.com
首页 >  
搜索关键字:text    ( 52583个结果
Android学习小Demo(22)带删除按钮的TextView
我们创建了一个ClearableTextView,继承于TextView,关键的代码如下: 1)设置CompoundDrawables。 2)必须重载onTouchEvent方法。 这是因为在TextView中设置四边的图标时,并没有提供其对应的点击事件,所以这就需要我们自己去拦截用户的点击事件,判断用户的点击区。。。 3)定义一个接口,用来由外部实现,可在图标点击事件时触发处理,如下: 4)为了让文字不存在的时候,删除按钮不出现,我们可以自己定义一个setTextClearable方法,里面包装了Text...
分类:移动开发   时间:2014-11-29 14:38:37    阅读次数:1075
未处理System.ServiceModel.ProtocolException HResult=-2146233087 Message=响应
(1)、 未处理System.ServiceModel.ProtocolException HResult=-2146233087 Message=响应消息的内容类型 text/html; charset=utf-8 与绑定(text/xml; charset=utf-8)的内容类型不匹配。如果使用自定义编码器,请确保正确实现 IsContentTypeSupported 方法。响应的前 1024 个字节为:“ <ti...
分类:其他好文   时间:2014-11-29 13:17:49    阅读次数:398
【转载】 sqlite数据库的char,varchar,text,nchar,nvarchar,ntext的区别
原文地址:http://blog.csdn.net/xingfeng0501/article/details/78171211、CHAR。CHAR存储定长数据很方便,CHAR字段上的索引效率级高,比如定义char(10),那么不论你存储的数据是否达到了10个字节,都要占去10个字节的空间,不足的自动...
分类:数据库   时间:2014-11-29 13:11:23    阅读次数:132
java输出日期时间
按照格式化输出时间package pack;import java.text.SimpleDateFormat;import java.util.Date;public class Demo { /** * @param args */ public static void main(Strin.....
分类:编程语言   时间:2014-11-29 13:03:07    阅读次数:169
线程暂停。
using System; using System.Text;using System.Windows.Forms;using System.Threading;namespace WindowsApplication1{ public partial class Form1 : Form { ....
分类:编程语言   时间:2014-11-29 10:21:01    阅读次数:146
百度地图利用DrivingRoute做轨迹回放
<html> <head> <metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/> <metaname="viewport"content="initial-scale=1.0,user-scalable=no"/> <styletype="text/css"> body,html,#allmap{width:100%;height:100%;overflow:hidden;..
分类:其他好文   时间:2014-11-29 07:09:59    阅读次数:1347
SerializerHelper
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.IO; 6 using System.Xml.Serialization; 7 ....
分类:其他好文   时间:2014-11-29 01:21:59    阅读次数:176
c# 内部类使用接口IComparer实现排序
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 内部类使用接口实现排序{ class Person ...
分类:编程语言   时间:2014-11-29 00:15:56    阅读次数:174
WinForm窗体屏幕边缘停靠
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Text;usingSystem.Windows.Forms...
分类:Windows程序   时间:2014-11-29 00:06:58    阅读次数:300
第一轮迭代团队贡献分分配
经过我们团队的讨论,第一轮迭代团队贡献的分配方案如下:团队成员最终得分高孟烨64邓亚梅39陈少杰62金鑫57雷元勇36王迪37郑培蕾55第一轮迭代的成绩让我们都不是很满意,所以成败就看M2阶段了,小伙伴们加油啦~暂定转会的成员是邓亚梅,明天上课的时候最后确定。
分类:其他好文   时间:2014-11-29 00:06:58    阅读次数:202
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!