List of usage examples for android.widget ListPopupWindow POSITION_PROMPT_BELOW
int POSITION_PROMPT_BELOW
To view the source code for android.widget ListPopupWindow POSITION_PROMPT_BELOW.
Click Source Link
From source file:com.duy.pascal.ui.editor.view.CodeSuggestsEditText.java
private void setupCodeSuggestsEditText(Context context) { mTokenizer = new SymbolsTokenizer(); setTokenizer(mTokenizer);/*w ww. jav a 2 s.c o m*/ // setThreshold(1); calculateCharHeight(); mDropDownAnchorId = View.NO_ID; mPopup = new ListPopupWindow(context); mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); mPopup.setOnItemClickListener(new DropDownItemClickListener()); mPopup.setAnimationStyle(android.R.style.Animation_Dialog); onDropdownChangeSize(getWidth(), getHeight()); }