Helo there.
FIsrt: plz-plz-plz sorry for my english =)
I'm trying to create keyboard with TouchPal-like swype symbols input.
Since keyLabel does not support multi-line and styled key labels i've
created some icons.
But Android doesnt  properly scale my icons to keyboard buttons (icons
height was larger than buttons height), so i tried to use
scaleDrawable.

But android does not display scaleDrawable on buttons :(

here is how i defining key with scaleDrawable:
<Key android:codes="101" android:keyIcon="@drawable/s_e"/>

and this is my s_e.xml:
<?xml version="1.0" encoding="UTF-8"?>
<scale
    xmlns:android="http://schemas.android.com/apk/res/android";
    android:drawable="@drawable/e"
    android:scaleGravity="fill"
    android:scaleHeight="100%"
    android:scaleWidth="100%"/>


what i am doing wrong?  Thanks for your help.

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