hello,
i have a dialog with a single autocompletetextview on an activity
that's in
landscape mode.
here's how i specify this autocompletetextview:
<AutoCompleteTextView android:id="@+id/name_text"
android:completionThreshold="2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5px"
android:inputType="textPersonName|textCapWords"
android:imeOptions="actionDone"
/>
with sdk1.5, when i put my finger on the textview to give it focus,
the virtual/soft keyboard shows up. i see the autocomplete mode
still works
in the context of the keyboard: as i type, i see suggestions show
up below the text entry field. very nice.
anyhow, when i touch "Done", i get my dialog view back, but the
autocompleteview dropdown list is still showing! what's worse,
when i try to dismiss the dropdown by selecting the same item that's
already entered in the textfield, some sort of empty menubar shows
up at the bottom of the screen (which i discovered i can dismiss
by pressing the back button)!
1. i would expect that when i finish entering the text using the
virtual keyboard, by pressing "Done", that the autocomplete drop
down should no longer show (autodismiss).
is there any way to tell the view programmatically to not show
if there's only one match and it's already entered??
2. i can't figure out why the single line text field morphs into
what looks like a multiline text area when in 'virtual keyboard'
mode.
any help/hints most appreciated.
thanks,
/ eitan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---