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.
Please give some reference or hint.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.