Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.view.ViewGroup;
import android.view.Window;

public class Main {
    public static final int FILL_PARENT = ViewGroup.LayoutParams.FILL_PARENT;

    public static void maximizeWindow(final Window window) {
        window.setLayout(FILL_PARENT, FILL_PARENT);
    }
}