How are you all?

I have been developing soft keyboard in my language. In my java
program I want to add new row of key in the keyboard and update it
dynamically at runtime. How can I do that from the java program. That
is:

The xml file has the following content:

<Keyboard xmlns:android="http://schemas.android.com/apk/res/android";
    android:keyWidth="10%p"  android:horizontalGap="0px"
android:verticalGap="0px"
    android:keyHeight="@dimen/key_height"    >

        <Row>
           <Key android:codes="4879" android:keyLabel="\u130F"
android:keyEdgeFlags="left"/>
           <Key android:codes="4880" android:keyLabel="\u1310" />
           <Key android:codes="4882" android:keyLabel="\u1312"/>
           <Key android:codes="4884" android:keyLabel="\u1314"/>
       </Row>
</Keyboard>


I want to add some more rows to the keyboard from the Java code. And
how can I get the xml file as a file. I can only access its ID number
through R.xml.file_name?

please help me.


Andu.

-- 
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