摘要: /*---------------------------------------- *-描述--Activity相关内容总结. *-描述--S1.Activity的7个生命周期 * ☆☆☆☆☆单独活动生命周期: * 1.Activity创建的时候:onCreate() => onStart() => onResume() * 2.按下home键或进入其他活动(失去焦点):onP... 阅读全文
posted @ 2016-08-07 18:18 zhen-Android 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 其他描述 阅读全文
posted @ 2016-08-07 17:12 zhen-Android 阅读(590) 评论(0) 推荐(0) 编辑
摘要: private void getSystemInfo() { //第一种方式获取屏幕的像素宽高在Activity里面可使用 //DisplayMetrics metric = new DisplayMetrics(); //Activity.getWindowManager().getDefaultDisplay().getMet... 阅读全文
posted @ 2016-08-07 02:14 zhen-Android 阅读(989) 评论(0) 推荐(0) 编辑
摘要: For a working implementation of this project see the sample/ folder. Include the library as local library project or add the dependency in your build. 阅读全文
posted @ 2016-08-07 02:00 zhen-Android 阅读(275) 评论(0) 推荐(0) 编辑