标签:ar sp c new r bs window return view
private int getStatusBarHeight() {
Rect rectgle = new Rect();
Window window = getWindow();
window.getDecorView().getWindowVisibleDisplayFrame(rectgle);
return rectgle.top;
}
标签:ar sp c new r bs window return view
原文地址:http://www.cnblogs.com/feitianlee/p/3980786.html