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. Efficiency of code with cursor.requery()

Hi All,

I am new on Android Development.  I am trying to make email client
application for android. I studied the google open source code for
email app. I find it quite tough for me. I have implemented
cursor.requey() to maintain the checked state of my checkbox when I
scroll my list view. Is it effect the efficiency of my code so badly?
Please make comments on that and also give me alternate Idea to save
the checked state of checkbox when i scroll my ListView.

Thanks,
Avinash Nigam

-- 

2. AES in Android

Hey all,

A basic doubt guys....
The AES implementation in AOSP...does it have any hardware
accelerator???Nexus One is the phone in question....



Thnx in advance...

-- 

3. Delete The Administrator Password

4. Basic Android activity UI misplaces lines on left and right and breaks widgets

5. Map clicks misplaced in Android browser.

6. getting error while configuring android with eclipse 3.4 on windows

7. CustomView scrollBar