Hello,
I am trying to change the ‘focusBitmapUri’ property of the Minikeyboard with a custom png (9-patch image).
I checked the default focus image in memory using port 8080 and r2d2_bitmaps, which gave me the original size of the focus png → 100x100 9-patch image
So i created a 100x100 png :
http://www.lecrabe.net/exchange/focused_key.9.png
but when the keyboard gains/looses focus, the whole component is moving slightly…
can you tell me what is wrong ?
NB: whatever png i tried, or the 9-patch black borders i set, the keyboard is still moving around
We are experiencing this issue too. Let me know if you have figured out a fix.
We are also experiencing this issue. Did anyone figure out a fix?
Well,
I have better results now using https://romannurik.github.io/AndroidAssetStudio/nine-patches.html
but when the keyboard is loosing focus, the whole component moves 3 or 4 pixels on the right…
I am not sure my client will appreciate this horrible glitch…
A pain.
I used 110 X 110 and patchworker(from google search) generates 9 patch images 112x112 under drawable-mdpi folder
and nothing inside for keyboardBitmapUri
keyboardBitmapUri=" "
focusBitmapUri=“pkg:/images/search/keyboard/focusedKey.9.png”
This will fix shifting keyboard at least when no BigmapUri. if something in in, shifting comes back.
And another Annoy part for property focusedKeyColor when white value, it turns dark.
so used 0xeeffffff