Soft Keyboard imeAction 'next' not working with AutoCompleteTextView

by Chris66 » Fri, 23 Apr 2010 08:02:19 GMT


Sponsored Links
 Hello,

  I have a layout with four AutoCompleteTextViews and the next button
on the soft keyboard doesn't work on either of them. I've tried
setting android:imeOptions and android:nextFocusRight/Down but it was
of no use. I also tried removing the FocusChanged/EditorAction/
TextChanged listeners of the views without success. Here is how one of
the views looks like:

numberTextView =
(AutoCompleteTextView)v.findViewById(R.id.street_number);
numberTextView.setOnFocusChangeListener(new OnFocusChangeListener() {
            public void onFocusChange(View view, boolean hasFocus) {
                if (hasFocus){          crossingText.setText("");  focused =
null;  recentList.setAdapter(null); }
            }
});

<AutoCompleteTextView    android:id="@+id/street_number"
android:layout_width="@dimen/searchAddrNoW"
android:layout_height="@dimen/searchWidgetsHeight"
android:singleLine="true"    android:textColor="#F000"
android:textSize="@dimen/standardTextSize"
android:hint="No"  android:inputType="number"/>

Could anyone give me some advice, please?

Thanks

--



Other Threads

1. Detecting hardware specs or phone model

Hi all,
I'm working on a game containing a 3D engine, and I would like to
change some parameters automatically depending on the hardware
capabilities.
For that I need a way to check the platform directly from the
software.
Does anyone know a way to achieve that?

Thanks for any information.

--~--~---------~--~----~------------~-------~--~----~

2. can anyone explain liblights and the lights.h interface? are there examples?

What I'd like do is understand what kernel mode driver or /sys
interface thereto is used to control lcd backlight. Thanks.

-evt

--~--~---------~--~----~------------~-------~--~----~

3. Software Keyboard Strange Behaviour

4. Avoid relaunching Emulator when App runs from eclipse

5. ActivityGroup , onKeyDown and ListView

6. How can I sort items in the ListView?

7. Force screen orientation and avoid destroy call