Closed GoogleCodeExporter closed 9 years ago
successfully recreated on Version:20100314-x-dvtel-testers (release 16)
Original comment by telemaniaka
on 17 Mar 2010 at 3:35
Possible fix.
Its my first time working with java or android so there is probably a better
way to
fix it.
Original comment by telemaniaka
on 18 Mar 2010 at 8:33
Attachments:
I don't like your suggestion.
But I think I know what is the problem, so I'll fix it for the next release.
Original comment by menn...@gmail.com
on 18 Mar 2010 at 8:40
yea, I just saw how many things I broke >.<
sorry
Original comment by telemaniaka
on 18 Mar 2010 at 9:08
Have you checked-out the SVN, and tried your fix?
Original comment by menn...@gmail.com
on 18 Mar 2010 at 9:16
Yes, but I didn't test enough.
Trying different things now but I won't be able to come up with a nice
solution, the
code is still a big mystery to me. Its a really interesting learning experience
^__^
Original comment by telemaniaka
on 18 Mar 2010 at 9:41
I can point you to where is the problem (two places), and you can try to fix it
yourself:
1) the keyboard XML (under "/trunk/project/res/xml/bg_bds_qwerty.xml" and
bg_ph_qwerty.xml) is not sized correctly.
In each Row not, there is the size of the key (<Row android:keyWidth="9.09%p">)
in
percents. My guess is that it is not precise enough, try to play with the
values.
2) at the line you tried fix, the real fix should be adding tolerances: instead
of
checking that the widths are exactly the same, they should be up to +-5 pixels
away.
Want to try and tell me if it works? And if so, we can add your patch
Original comment by menn...@gmail.com
on 18 Mar 2010 at 10:32
Hah, I was thinking that the two options for fixing it are:
1) fix the additional 4 pixels, but reached "this.height" in AnyKeyboard.java
and
didn't know where to look after that
2) if the hardware keyboard is out, don't care if the keyboard is bigger cause
we
don't show it anyway, but couldn't find how to know when the keyboard is out
My first fix was that. Took "keyboard instanceof HardKeyboardTranslator" from
isCurrentKeyboardPhysical() but apparently that broke redrawing on orientation
change
in general
So in the end I gave up and made it with margins till it gets fixed officially
XD
Resource files fixes:
Original comment by telemaniaka
on 18 Mar 2010 at 11:23
Attachments:
OK.
I'll fix that too
Original comment by menn...@gmail.com
on 18 Mar 2010 at 11:26
Try the latest:
http://softkeyboard.googlecode.com/files/AnySoftKeyboard_20100318.apk
Original comment by menn...@gmail.com
on 18 Mar 2010 at 6:39
yes, its working now
Original comment by telemaniaka
on 19 Mar 2010 at 11:38
Good.
Which device do you have?
Original comment by menn...@gmail.com
on 19 Mar 2010 at 12:20
HTC G1 with CyanogenMod 4.2.15.1
Original comment by telemaniaka
on 19 Mar 2010 at 2:59
OK.
Can I use you for some beta-testing? I'm changing the physical keyboard
translation
infrastructure.
Original comment by menn...@gmail.com
on 19 Mar 2010 at 3:54
Original issue reported on code.google.com by
telemaniaka
on 17 Mar 2010 at 3:10