Back to project page droidkit-engines.
The source code is released under:
MIT License
If you think the Android project droidkit-engines listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.droidkit.sample; /*from w w w . j a v a2 s .c o m*/ import android.app.Activity; import android.view.Window; import android.view.WindowManager; public class ActivityHelper { public static void tide (Activity a) { if (a != null) { // a.requestWindowFeature(Window.FEATURE_NO_TITLE); a.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN); a.getWindow().setBackgroundDrawableResource(R.drawable.transparent); } } }