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. Adobe Reader pdf resmi dah keluar

Pdf reader resmi dah keluar tuh di market, gratis :-)

http://market.android.com/search?q=pname:com.adobe.reader

Salam,

Lucky Sebastian

-- 
"Indonesian Android Community [id-android]" 

2. HELP : HTC DREAM G1 STUCK!

Permisi,numpang panik.. :)

Semalam setelah liat CM05t5 dan kerasa ngelag rencana mau diturunkan
ke SuperD lagi atau CM4.Saya flash langsung koq selalu stuck di logo T
mob yah?
Saya pake amonra yg masih 1.5.apa harus diupgred ke 1.7 baru bisa
bebas naik turun rom?

Thks,

-- 
"Indonesian Android Community [id-android]" 

3. Notif bar ganti

4. APK Dolphin Browser H

5. Finger swipe in Android API level 3 (OS 1.5) ?

6. astro 2.4.0

7. Problem getting a linearlayout to be scrollable