开发者

Android Window Class

Is their anyway to not display the bottom menu bar in my app on the tablet? I was able to get the title bar to disappear using ->

    this.requestWindowFeature(Window.FEATURE_NO_TITLE)开发者_开发知识库;

What class am I looking for? Android 3.0.. Is this feature available in any android version?

Thanks


You cannot remove the bottom bar.


If your device is rooted you can from shell ->

service call activity 79 s16 com.android.systemui

This functionality will break after reboot obviously so call it from your application.

Process proc = Runtime.getRuntime().exec(new String[]{"su","-c","service call activity 79 s16 com.android.systemui"});
proc.waitFor();


It is possible in Android 2. Here is a link to a page I found http://sree.cc/google/android/hiding-the-notification-bar-and-title-bar-in-android

As far as I know, there is no way to do this in Android 3.x. What exactly are you trying to achieve by removing the bar?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜