public class PopupwindowActivity extends Activity {
LinearLayout ll;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCon...
分类:
移动开发 时间:
2014-11-11 22:57:37
阅读次数:
221
public class DemoActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedI...
分类:
移动开发 时间:
2014-11-11 22:57:34
阅读次数:
243
-(id)initWithFrame:(CGRect)frame{ self=[super initWithFrame:frame]; if (self) { //使用self. 表示调用了set方法 retain了一次 self.lineArray=[NSMutableArray ...
分类:
移动开发 时间:
2014-11-11 20:45:26
阅读次数:
163
http://www.read.org.cn/html/39-miracle-super-speed-reading-a-book-focused-training-methods.html这几天看看了家里的书,发现各种的速读法中都有专门训练注意力的方法。今天介绍的是《奇迹的超级速读法》一下中训练....
分类:
其他好文 时间:
2014-11-11 18:54:26
阅读次数:
186
1、第一种重启方式
public class RebootActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.on...
分类:
移动开发 时间:
2014-11-11 16:44:21
阅读次数:
238
============问题描述============ 为什么这么写无法获取到服务器上的图片资源protectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.l...
分类:
Web程序 时间:
2014-11-11 15:49:46
阅读次数:
144
有没有感觉终端的字体锯齿感觉非常强?经过搜索后发现可以平滑字体显示得更漂亮一点: System Settings > Application Appearance > Fonts I enabledanti-aliasingand set Use sub-pixel rendering to RG....
分类:
系统相关 时间:
2014-11-11 15:41:16
阅读次数:
264
public class TestsuActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(save...
分类:
移动开发 时间:
2014-11-11 14:21:43
阅读次数:
206
在iOS 6 以前重写
-(void)willTransitionToState:(UITableViewCellStateMask)state ,发现iOS7 以前的方法不管用了
iOS7 下
在自定义cell里重写
-(void)willTransitionToState:(UITableViewCellStateMask)state{
[super
willTra...
分类:
移动开发 时间:
2014-11-10 19:55:56
阅读次数:
220
class user extends Thread { private Thread fth; user(String name, Thread fth) { super(name); this.fth = fth; } public void run() { System.o...
分类:
编程语言 时间:
2014-11-10 17:32:14
阅读次数:
192