How to create a full screen activity in Android

Posted by Unknown Selasa, 12 November 2013 0 komentar
In this tutorial we are going to learn how to create a full screen Activity..
Copy and download the code and try yourself..
 
import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.app.Activity;


public class FullscreenActivities extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

//removes the unwanted contents.....
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
//......................

setContentView(R.layout.activity_fullscreen_activities);

TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: How to create a full screen activity in Android
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://androidpopuler.blogspot.com/2013/11/how-to-create-full-screen-activity-in.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of android populer.