Found online methods are tried, no effect
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);..
getWindow () getDecorView () setSystemUiVisibility (View.STATUS_BAR_HIDDEN);..
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_LOW_PROFILE);..
The three also tried.
Let XML also tried
android: theme = "@ android: style / Theme.NoTitleBar.Fullscreen"
The 2.2 effective 4.0 completely ineffective.
Which brothers help out
Reply:
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_SHOW_FULLSCREEN);..
Try this, then do not go to XML inside the set, otherwise the situation will be invalid code
Reply:
@ Override
public void onCreate (Bundle savedInstanceState) {
super.onCreate (savedInstanceState);
this.getWindow () setFlags (LayoutParams.FLAG_FULLSCREEN, LayoutParams.FLAG_FULLSCREEN);.
setContentView (R.layout.activity_main);
.....
}
Reply:
Estimate is you add the wrong place, plus before setContentView (R.layout.xxx), added after you can not.
Reply:
Yesterday no ROOT,
Today ROOT then tried again
Or not.
Ladies and gentlemen, there is no other way
Reply:
getWindow () getDecorView () setSystemUiVisibility (View.STATUS_BAR_HIDDEN);..
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_LOW_PROFILE);..
Both only temporarily hidden, but the black bars are still
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);..
This complete disregard
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_SHOW_FULLSCREEN);..
This system is not publicly SYSTEM_UI_FLAG_SHOW_FULLSCREEN = 4,
. getWindow () getDecorView () setSystemUiVisibility (4);.
Completely ignoring
this.getWindow () setFlags (LayoutParams.FLAG_FULLSCREEN, LayoutParams.FLAG_FULLSCREEN);.
This complete disregard
Reply:
After I tried to SYSTEMUI.APK renamed ROOT,
Thus, the system does not start after following SYSTEMBAR, but the situation is yet another black screen with VIDEOVIEW of
Help ah
Reply:
requestWindowFeature (Window.FEATURE_INDETERMINATE_PROGRESS);
requestWindowFeature (Window.FEATURE_NO_TITLE);
Try again added to the onCreate () method inside setContentView (R.layout.xxx) above;
Reply:
What is the meaning completely ignored?
Reply:
http://blog.csdn.net/vrix/article/details/7823145
The last method you try
Reply:
Programs completely ignore this line of code
Reply:
requestWindowFeature (Window.FEATURE_NO_TITLE);
This line can play a role.
But the following softkeys or in
Reply:
This has been tried
Reply:
this.getWindow () setFlags (LayoutParams.FLAG_FULLSCREEN, LayoutParams.FLAG_FULLSCREEN);.
You put in the position right? Seems to be placed before setContentView
Reply:
Be
Reply:
Top up their own
Reply:
Do not go to rename SystemUI.apk, this will cause a lot of problems. Before I realized that renumbering source. The height of the StatusBar to 0, so there is not any problem
Reply:
Refer to the http://bbs.imp3.net/thread-10603387-1-1.html
Reply:
Thank you for your help
Is still used to solve renaming SYSTEMUI.APKHave time to study other methods it
First to complete the task
Reply:
getWindow () getDecorView () setSystemUiVisibility (View.SYSTEM_UI_FLAG_SHOW_FULLSCREEN);..
This system is not publicly SYSTEM_UI_FLAG_SHOW_FULLSCREEN = 4,
The value of the 4.1 version of the disclosed
Reply:
Go to the top. . . The same question. . . All kinds are tested or not ah
Reply:
From the top. . . . . There is a need
Reply:
I want to estimate the landlord is taking the tablet's code, is that, no matter how flat is set up is that the status bar into a small point, such as: View pictures when playing videos or when I tested: In 4.0, If you have the source code, can be solved:
Solutions are as follows:
1.PhoneWindowManager.java file,
Function setInitialDisplaySize () is provided:
mStatusBarHeight = 0;
2 In systemui application code, for
TabletStatusBar.java file for:
mStatusBarView processing, solve all the problems:
mStatusBarView.setVisibility (View.VISIBLE); or
mStatusBarView.setVisibility (View.GONE);
Reply:
. getWindow () getDecorView () setSystemUiVisibility (8);.
4.0 on can be oh
No comments:
Post a Comment