- 博客(7)
- 问答 (1)
- 收藏
- 关注
转载 关于tools:context=".MainActivity"的解释
http://blog.csdn.net/xiabing082/article/details/50563559
2016-05-27 20:03:53 1009
原创 关于QQ中侧屏滑动实现
侧屏滑动显示另一屏的一部分,应该可以想到使用的布局是FrameLayout(堆栈布局),因此自定义一个FrameLayout,对其中进行操控即可实现。 1.使用自定义在xml中新建两个FrameLayout 2.在继承FrameLayout中定义两个view,分别指向xml建立的两个FrameLayout 3.使用ViewDragHelper,将ontouchevent事件转向ViewDra
2016-05-27 16:22:04 622
原创 将代码上传到Github上
【Github入门与实践学习笔记】 2.Git安装 下载Git 在http://msysgit.github.io/中 初始设置 设置姓名和邮箱(最好和Github账号一致,图个简便) 3.使用Github的前期准备 建立SSH Key:这个网上有教程 创建仓库:勾选Initialize...的一项(如果是添加,就不用勾选,不知为啥) clone仓库:在SSH后面复制路径 然后
2016-05-09 14:03:27 512
原创 012 Integer to Roman(Java)
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 to 3999. 先是了解罗马数的构成 基本字符 I V X L C D
2016-05-09 01:10:09 764
转载 synchronized 的使用方法
在学JSP的时候文中提到,当多个线程同时访问成员变量并修的时候,如何处理,文中提到synchronized 但是讲的并不详细 于是查找了一下,下面的讲的很详细 参考http://blog.csdn.net/witsmakemen/article/details/6966116 举例说明: 一、当两个并发线程访问同一个对象object中的这个synchronized(t
2016-05-07 16:16:30 455
原创 011 Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Fin
2016-05-06 23:46:37 249
原创 010Regular Expression Matching
'.' Matches any single character. '*' Matches zero or more of the preceding element. The matching should cover the entire input string (not partial). The function prototype should be: bool isMatch(c
2016-05-06 23:35:26 229
空空如也
sizeof在两函数中返回结果不同
2016-01-04
TA创建的收藏夹 TA关注的收藏夹
TA关注的人