Full Screen Activity In Android

In Full Screen Specification. There are two way to do this in Android App. There are Depending on User Specification Requirement.

First, Its so simple. Only add one line on Android manifest File.

<activity android:name=”.SomeApp”

android:label=”@string/app_name”

android:theme=”@android:style/Theme.NoTitleBar.Fullscreen”>

Second, We can add code on Java File. Add following code in the activity’s onCreate(Bundle savedInstanceState) method.

public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
   // Remove App Title Bar
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
setContentView(R.layout.main);
}

Enjoy Code.

More Code…

>>   Twitter OAuth – Authentication In Android

>>   IPhone UITable View In Android

>>   Simple Listview Example In Android

>>   Add Admob To Your Application

>>   Page Curl Effect In Android