I am using one autocomplete. I want to show this autocomplete as a multiline. I don't want to show dropdown as a multi line but i want to show textbox as a multi line. 

I also use multiline attribute in .xml file but it's showing nextline key on keyboard and i don't want to use user to press this and go on next line. 

**What happening now** 

I am typing something in textbox after finishing space it's scrolling horizontally. and show all text in one line. 

**What i want** 

Suppose user typing and after finishing space of textbox then automatically cursor will goes on next line so user can see all text at one time without scrolling horizontally. 

Here is my code. 

```
<AutoCompleteTextView
                android:id="@+id/txtTags"
                android:layout_width="fill_parent"
                android:layout_height="44dip"
                android:layout_marginLeft="12dip"
                android:layout_marginRight="12dip"
                android:background="@drawable/borderforloginedittext"
                android:gravity="center_vertical"
                android:hint="eg: Breakfast, spicy, italian "
                android:inputType="textPersonName|textImeMultiLine"
                android:imeOptions="actionSearch"
                android:paddingLeft="70dp"
                android:scrollHorizontally="false"
                android:verticalScrollbarPosition="right"
                 android:dropDownHeight="fill_parent"
                android:dropDownWidth="match_parent"
                android:textColor="#333333"
                android:textColorHint="#999999"
                android:textSize="16sp" >
            </AutoCompleteTextView>    

```

I need impeoption as an actionsearch so user can press search key of keyboard. That's why i can't use textmultiline because it replace search key with next line key.

Please give some reference or hint.