android - Click anywhere in EditText to show keyboard -


i trying make hello world notepad app, , have click right on cursor in edittext bring soft keyboard. able click anywhere in edittext show keyboard.

here edittext declaration in layout:

<edittext     android:id="@+id/text"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:inputtype="text"  > </edittext> 

edit:

i using galaxy nexus emulator, , here get:

screen

i have click in area above blue marker keyboard.

try :

<edittext     android:id="@+id/text"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:inputtype="text"  > </edittext> 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -