获取状态栏宽度

来源:互联网 发布:mac蓝牙鼠标输入码无效 编辑:程序博客网 时间:2024/05/13 15:15
Rect frame = new Rect();   getWindow().getDecorView().getWindowVisibleDisplayFrame(frame);   int statusBarHeight = frame.top; 
0 0
原创粉丝点击