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. How to connect to a Wifi network behind a proxy?

Hi!

Is there a way to connect to a WiFi behind a proxy? Could this be
possible with a third-party application?

Sorry about my poor english. Thank you all for your excellent work.

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

2. Please help me in porting Android to a new hardware

Hi Group,

I have started recently working on Android, I am trying to port
Android to a new phone hardware i have few doubts regarding that.
- What factors do i need to consider while selecting the hardware
other than the processor and some telephony hardware
- How can i flash the phone with the new software, how can i write the
new image onto the phone

I tried by googe the two, but couldnt find proper info.
It would be a great help if somebody can provide information about the
above two questions either some links where i can get the related
information.

Thanks in advance.

Regards
edu.mvk.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Is it possible to get HID working with latest Cupcake

4. Android Emulator Frozen! :(

5. Media Player sound state problems in G1

6. ExampleAppWidget won't run

7. Problem to show a button below a scrollview