I added android:windowSoftInputMode="stateAlwaysVisible" to my activity in AndroidManifest.xml , and here is my layout:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <EditText android:id="@+id/EditText01" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText> <EditText android:id="@+id/EditText02" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText> <Button android:id="@+id/Button01" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Send"></Button> </LinearLayout>
alt text http://img227.imageshack.us/img227/2006/18021414.png
When the action begins, EditText focuses, but the soft keyboard does not appear. If I click on EditText, I will see a soft keyboard. Do I need to set additional parameters to display a soft keyboard when starting my activity?
thanks
android user-interface soft-keyboard
Sarp centel
source share