Hello!
I want to make custom soft keyboard for EditText in my application.
I've read tutorial 
http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html
and I've seen sample SoftKeyboard from SDK.
So, I don't understand how link my keyboard with EditText in xml-
mapping.

I have
in main.xml :

        <EditText android:lines="1"
                  android:layout_height="wrap_content"
                  android:layout_width="wrap_content"
                  android:layout_weight="1"
                  android:id="@+id/equation_field"/>

in AndroidManifest.xml

        <service android:name=".components.keyboard.SoftKeyboard"
                 android:label="@string/formula_keyboard"
                 android:enabled="true"
                 android:exported="false"
 
android:permission="android.permission.BIND_INPUT_METHOD">
            <intent-filter>
                <action android:name="android.view.InputMethod"/>
            </intent-filter>
            <meta-data android:name="android.view.im"
                       android:resource="@xml/method"/>
        </service>

I don't know, how to work it together, and I can not find any sample.

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

Reply via email to