Input Window No Adjust - Android User Interface

Android examples for User Interface:Window

Description

Input Window No Adjust

Demo Code


//package com.java2s;
import android.app.Activity;

import android.view.WindowManager;

public class Main {

    public static void InputNo(Activity act) {
        act.getWindow().setSoftInputMode(
                WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
    }//from  w w  w  .  j a  v  a  2s .c  om
}

Related Tutorials