摘要:
可以建立对象把Application.ActivityLifecycleCallbacks接口中的函数实现,并利用public voidregisterActivityLifecycleCallbacks(Application.ActivityLifecycleCallbackscallback)... 阅读全文
摘要:
// DisplayMetrics metrics = getResources().getDisplayMetrics(); // int statusBarHeight = (int) Math.ceil(25 * metrics.density); 阅读全文