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. Tablet support up to 2.2

Hi all.

I've got the Galaxy Tab emulator running, and was curious to see how
my various apps worked regarding layouts. I've looked at the various
docs on this, but they mostly talk about version 2.3 which I'm not yet
supporting.

My apps generally currently specify:

android:minSdkVersion="3" android:targetSdkVersion="8"

and I have folders for res/drawable and res/drawable-hdpi, and just
the one res/layout folder.

I notice that while the layouts fit nicely, the images are all too
small. So, bearing in mind my current spec above, what do I need to
add to make the apps compatible with tablets, without yet included 2.3
support?

-- 

2. Compile of Android Kernel and Android OS

I would like to know the difference if any between Android Kernel
compiling and Android OS compiling.

Secondly if I want to compile Android OS with some default general
configurations then where I can get help for it. I have gone through
the source.android.com getting source and I have actually downloaded
the source using

repo sync command

After this I have no clue what to do. The info on source.android.com
is not enough for a beginner to understand the process completely.

I have actually got errors while compiling and those errors are not
understandable for me.

So I need help to successfully compile the Android OS and if Android
Kernel is something different from Android OS then I want to know
about this difference as well.

Can anyone help me please? I will be very thankful to any help.

Regards,
Asif

-- 

3. javax.xml parserxml configuration Error

4. Query: Access to Linux Kernal Programs using Android SDK

5. http connection issue

6. WebView; SDK

7. does anyone have implemented omx codec and integrated into stagefright, pls share your experience or your code