How to get rid of top fading edge in android full screen mode?

Up vote 0 down vote favorite share g+ share fb share tw.

By putting the following two lines of code in activity. OnCreate, I can get a full screen view: requestWindowFeature(Window. FEATURE_NO_TITLE); getWindow().

SetFlags( WindowManager.LayoutParams. FLAG_FULLSCREEN, WindowManager.LayoutParams. FLAG_FULLSCREEN ); However, if you look carefully, there is still a slight fading edge on the top edge of the screen which looks like a residue of the removed title bar.

How can I get rid of that completely? See this screen capture, which is a fullscreen view obtained using the above two lines of code, but the top fading edge is visible and annoying, I already tried android:fadingEdge="none" and android:fadingEdgeLength="0sp" on the root view of this activity, doesn't work: android fullscreen link|improve this question edited Sep 23 '11 at 5:40 asked Sep 23 '11 at 5:23Echo Lu789.

This will do what you asking for: requestWindowFeature(Window. FEATURE_NO_TITLE); setTheme(android.R.style. Theme_NoTitleBar_Fullscreen); getWindow().

SetFlags(WindowManager.LayoutParams. FLAG_FULLSCREEN, WindowManager.LayoutParams. FLAG_FULLSCREEN).

Thanks! This did the trick! – Echo Lu Nov 19 '11 at 20:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions