Example usage for android.view.inputmethod EditorInfo IME_FLAG_NO_FULLSCREEN

List of usage examples for android.view.inputmethod EditorInfo IME_FLAG_NO_FULLSCREEN

Introduction

In this page you can find the example usage for android.view.inputmethod EditorInfo IME_FLAG_NO_FULLSCREEN.

Prototype

int IME_FLAG_NO_FULLSCREEN

To view the source code for android.view.inputmethod EditorInfo IME_FLAG_NO_FULLSCREEN.

Click Source Link

Document

Flag of #imeOptions : used to request that the IME never go into fullscreen mode.

Usage

From source file:cm.aptoide.com.actionbarsherlock.widget.SearchView.java

/**
 * {@inheritDoc}/*from w w w. j  ava  2 s .c om*/
 */
@Override
public void onActionViewExpanded() {
    if (mExpandedInActionView)
        return;

    mExpandedInActionView = true;
    mCollapsedImeOptions = mQueryTextView.getImeOptions();
    mQueryTextView.setImeOptions(mCollapsedImeOptions | EditorInfo.IME_FLAG_NO_FULLSCREEN);
    mQueryTextView.setText("");
    setIconified(false);
}