RSS

Catetan Kecil Selasa malem tentang android

02 Nov

 

Cara agar activity kita fullscreen ada dua :

  1. Melalui kode java

    requestWindowFeature(Window.FEATURE_NO_TITLE);

     

    getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);

     

  2. Melalui manifest.xml file

    <activity android:name=" "
    

     

    ...
    

     

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

     

Dan aplikasi anda sudah bias fullscreen tanpa embel-embel apapun

 
Leave a comment

Posted by on November 2, 2010 in Android

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: