VENKOOL IT
HOME
TUTORIALS
PROGRAMS
USER QUESTIONS
++++++++++ Best Blog for Learning ANDROID ++++++++++
Thursday, 15 November 2012
How to Set Full Screen in Android mobile through programatically ?
Posted by
Unknown
By Two ways we can solve this
1.
In Activity before setContentView() method write like this
getWindow().setFlags(WindowManager.LayoutParams.
FLAG_FULLSCREEN
,
WindowManager.LayoutParams.
FLAG_FULLSCREEN
);
or
2.In androidmanifest.file we can add "theme" tag
<activity
android:label="@string/app_name"
android:name=".ListCustamizationActivity"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" >
Demo:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment