int height = 0;
int resourceId = getApplicationContext().getResources().getIdentifier("status_bar_height", "dimen", "android");
if (resourceId > 0) {
height = getApplicationContext().getResources().getDimensionPixelSize(resourceId);
}
无标签
发布日期:
2020-03-10
文章字数:
20
阅读时长:
1 分
阅读次数: