You should have an attribute - *android:popupKeyboard* - in your keys.  
Example *popup_keyboard.xml*:
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android";
    android:keyWidth="10%p"
    android:horizontalGap="0px"
    android:verticalGap="0px"
    android:keyHeight="56dp">
</Keyboard>

On Saturday, January 8, 2011 6:34:37 AM UTC-5, Mathieu wrote:
>
> Hi everyone ! 
>
> -> I'm trying to modify a bit the sample soft keyboard. 
>
> I would like, on longKeyPress on a character, to allow the user to 
> choose in a selection of others characters. 
> For example, on a longKeyPress on a "a", I would like to popup aàâ, 
> etc. 
>
> In the xml , I wrote this : 
> <Key android:codes="119" android:keyLabel="a" 
> android:popupCharacters="aàâ" /> 
> but it doesn't work. 
>
> If you have any idea, please answer ! 
>
> Thanks in advance, 
> Mathieu

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to