1、自定义属性,在value文件夹下新建attrs文件,声明如下属性 2、继承ImageView ,重写构造和ondraw方法 3、引入CircleImageView ...
分类:
移动开发 时间:
2017-08-11 17:50:23
阅读次数:
253
About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor ...
分类:
其他好文 时间:
2017-08-11 15:52:52
阅读次数:
208
Java_dbc连接数据库_使用读取配置文件properties的方式 ...
分类:
数据库 时间:
2017-08-11 13:38:31
阅读次数:
384
关于居中,无论是水平居中,还是垂直居中都有很多方式,下面我来介绍一些常用的。 第一部分:水平居中 1.实现行内元素的居中。方法:在行内元素外面的块元素的样式中添加:text-align:center; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 <!DOCTYPE ...
分类:
Web程序 时间:
2017-08-11 12:21:42
阅读次数:
198
亲测好用!!!代码示例是上传excel html代码 ...
分类:
Web程序 时间:
2017-08-11 12:14:04
阅读次数:
181
@WebServlet("/BaseServlet")public class BaseServlet extends HttpServlet { private static final long serialVersionUID = 1L; public void init() throws S ...
分类:
编程语言 时间:
2017-08-11 11:01:46
阅读次数:
126
this的作用: 1) this是当前对象的一个引用。便于对当前对象參数的使用。 2)能够返回对象的自己这个类的引用。同一时候还能够在一个构造函数其中调用还有一个构造函数 this演示样例: public class ThisDemo { public ThisDemo() { this.numbe ...
分类:
编程语言 时间:
2017-08-11 10:43:57
阅读次数:
124
像 Jenkins 这样的系统,使用的过程就是配置文件变更的过程。如果能够对配置文件的变更进行跟踪管理,将极大的提高系统的可用性。Job Configuration History 插件就是这么一款实用而精巧的组件。很显然,相对于它的功能而言,它的名字实在是太低调了。因为它不仅能处理 Job Con ...
分类:
其他好文 时间:
2017-08-11 10:04:16
阅读次数:
127
‘’‘ ’‘’‘三引号:打印多行 python中有组合 while 条件: ....else: .... num = 1while num <= 10: num += 1 if num == 5: break print(num)else: print("This is else statement ...
分类:
编程语言 时间:
2017-08-10 23:42:15
阅读次数:
198