0

On my application, I have, on some devices (such as the HTC One) a bar containing only the "More" button (e.g : three vertical dots). Example below with the Amazon app that gets the same behavior.

Three dots appear

I tried to remove it, by adding this on my manifest :

<application
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" > </application>

It didn't work. I also tried to change the visibility of the displayed view :

View v = this.findViewById(android.R.id.content);
v.setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);

But it only works when displaying the activity. When I interact on my view, the navigation bar reappers.

I noticed that this navigation bar does not appear on a Galaxy S III nor on a Galaxy S II. Can this navigation bar only be displayed only because of the large resolution of the HTC One screen ?

Is there any way to remove this bar only when it appears ?

4

1 回答 1

2

将您android:targetSdkVersion的设置为 14 或更高。有关更多详细信息,请参阅我一年前的这篇博客文章。

于 2013-05-15T13:29:52.223 回答