Wednesday, February 12, 2014

android fullscreen problems


            
I encountered a strange problem. Use android: theme = "@ android: style / Theme.Black.NoTitleBar.Fullscreen" set up a full-screen Activity (or set requestWindowFeature in Activity of java code (Window.FEATURE_NO_TITLE); and
getWindow () setFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams FLAG_FULLSCREEN.);. to get the full screen). Open the application and enter in the Activity when it is correct, do not show Titlebasr. However, if this page, press the Home key to return to Idle, and then click into this application, Resume the Activity, will show what TitleBar, then, the picture based on other View all down the Titlebar. How to solve, who knows? ?
Reply:
Uh ... this may be because of your Home screen Launcher TitleBar affect it. In fact, there are ways to put the whole style of TitleBar are removed, so what the problem is gone. Are interested to talk to you
Reply:
cited a floor louiswangbing reply:
uh ... this may be because of your Home screen Launcher TitleBar affect it. In fact, there are ways to put the whole style of TitleBar are removed, so what the problem is gone. Are interested, talk to you

Novice, did not fully understand the reasons for solving specific solutions
Reply:
I used requestWindowFeature (Window.FEATURE_NO_TITLE) on the phone tried, there was no question what you say
Reply:
You need to download the android source code to do the preparatory work, although this process is a bit cumbersome, but very practical, very fun, and you will slowly find that a lot of things will be a lot easier
source codeAre interested can go to my blog space to see, there are other android application development solution column, I believe you will after reading
harvest
cited a floor louiswangbing reply:
uh ... this may be because of your Home screen Launcher TitleBar affect it. In fact, there are ways to put the whole style of TitleBar are removed, so what the problem is gone. Are interested, talk to you

Reply:
I have about the same problem, not solve the big brother, trouble email: 307839227@qq.com
I really can not find what the problem is, for one activity in the tab on the right show, but it may be another one like that.
I feel out of the xml, but could not find any problems. I have a problem again enlarged the other tabs activity inside, but there is no problem
Reply:
references, 5th Floor heguikun reply:
I have about the same problem, not solve the big brother, trouble email: 307839227@qq.com
I really can not find what the problem is, for one activity in the tab on the right show, but it may be another one like that.
I feel out of the xml, but could not find any problems. I have a problem again enlarged the other tabs activity inside, but there is no problem

You are not set in your layout file on a control of the android: focusableInTouchMode = "true", that is the case will set this property to the other controls, my problem is that in the above
Reply:
The manual will be moved to TAB will focus on this problem would not be
Reply:
You are not using the MapView?
Reply:
Inside out once again in onResume getWindow () setFlags (WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams FLAG_FULLSCREEN.);., In activity has view to show and hide when both set out what this flag. This problem is the old version of android bug, 4.0 later solved.
Reply:
After the 2.3 version I added the landlord two phones running the code is not up unexpectedly terminated

No comments:

Post a Comment