Hi Folks,

I have a EditView that takes input from user - but once I enter text
using the soft keypad, the "Done" button doesn't seem to be working. I
want it to take me back to my view and exit from the keypad entry
since I'm done entering the text.
Here is how my layout is defined - what am I missing?
Thanks in advance!
-MH

<AbsoluteLayout
android:id="@+id/widget1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android";
android:background="@android:color/black">

    <EditText android:id="@+id/search_str"
        android:maxLines="1"
        android:ems="25"
        android:scrollHorizontally="true"
        android:layout_width="440px"
        android:layout_height="70px"
        android:layout_x="20px"
        android:layout_y="100px"
        android:maxEms="25"/>

    <Button android:id="@+id/button_search"
        android:text="@string/button_search_str"
        android:layout_width="100px"
        android:layout_height="50px"
        android:layout_x="80px"
        android:layout_y="200px"/>

    <Button android:id="@+id/button_search_cancel"
        android:text="@string/button_search_cancel_str"
        android:layout_height="50px"
        android:layout_width="100px"
        android:layout_y="200px"
        android:layout_x="280px"/>

    <TextView android:id="@+id/search_window_prompt"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:text="@string/search_window_prompt_str"
        android:layout_y="50px"
        android:editable="false"
        android:layout_x="180px"/>

</AbsoluteLayout>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to