I have an activity for which I want to show the keyboard immediately when the activity starts.
Please see the following 2 screenshots I uploaded to an album: https://plus.google.com/u/1/photos?tab=Xq#photos/102109440646458760555/albums/5693607597471294017 Screen shot #1 show what happens if I manually tap on the "Payee" field. Everthing is OK. Screen shot #2 show what happens if I programatically show the keyboard. As you can see, the two input fields in the middle have disappeared!! The fact that these two fields are in a ScrollView is probably related. The code I am using to force the keyboard is: Window window = getWindow(); WindowManager.LayoutParams layoutParams = window.getAttributes(); layoutParams.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE; window.setAttributes(layoutParams); I suspect this is an Android bug, but does anybody have any suggestions what I could try to fix this? Thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

