my status bar in android 4.2.2 emulator is broken

廉价感情. 提交于 2019-12-10 03:58:04

问题


Today I found the status bar in android 4.2.2 emulator is broken.I cannot pull it down. I have no idea what happened.


回答1:


Try to make a little app wich pulls it down:

    StatusBarManager statusBar = (StatusBarManager) getSystemService(STATUS_BAR_SERVICE);
statusBar.expand();

Permission is required in manifest:

<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />



回答2:


For what it's worth, as per this SO, it seems like it might be a bug in android. No response from Google as of the writing of this comment.



来源:https://stackoverflow.com/questions/15484062/my-status-bar-in-android-4-2-2-emulator-is-broken

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!