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. Non English Font Support

for making the browser compatible with non-english  fonts

do this simple steps



Download .TTF version of your font on your pc
rename the file to DroidSansFallback.ttf
replace this file with the file in your phone /system/fonts
and you're done



or use this code

adb push DroidSansFallbxack.ttf /system/fonts/DroidSansFallbxack.ttf

-- 

2. The import org.apache.http.entity.mime cannot be resolved

Hi,

I'm trying out sample example from a book to understand how the code
works but I have this error:
"The import org.apache.http.entity.mime cannot be resolved"

What is that I need to do?

10Q.

-- 

3. Drawing text on a Bitmap (rather than Canvas)

4. App launch widget

5. TelephonyManager NETWORK_TYPE_ for HSPA+?

6. Handler usage

7. web.loadUrl not working