摘要:
/*---------------------------------------- *-描述--Activity相关内容总结. *-描述--S1.Activity的7个生命周期 * ☆☆☆☆☆单独活动生命周期: * 1.Activity创建的时候:onCreate() => onStart() => onResume() * 2.按下home键或进入其他活动(失去焦点):onP... 阅读全文
摘要:
其他描述 阅读全文
摘要:
private void getSystemInfo() { //第一种方式获取屏幕的像素宽高在Activity里面可使用 //DisplayMetrics metric = new DisplayMetrics(); //Activity.getWindowManager().getDefaultDisplay().getMet... 阅读全文
摘要:
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. 阅读全文