摘要:
Give your activity's root view a known ID, say '@+id/activityRoot', hook a GlobalLayoutListener into the ViewTreeObserver, and from there calculate the size diff between your activity's view root and the window size:final View activityRootView = findViewById(R.id.activityRoot);activi 阅读全文
posted @ 2013-08-06 18:02
邹创
阅读(215)
评论(0)
推荐(0)
浙公网安备 33010602011771号