On Sun, Mar 6, 2011 at 12:40 PM, Nikolay Elenkov <[email protected]> wrote: > > It does seem it's a bug in 2.2, fixed in 2.3, but the closest relevant change > I found says 'Fix bug 3061544 and some clipping errors.' and that's not > too helpful. >
Scratch that. The real issue is that StaticLayout.getLineTop() returns 0. This is used for calculating the text height, in turn used to calculate vertical offset inside the TextView. It looks like it is impossible to workaround this without overriding TextView.onDraw() and drawing the text myself (naturally I want to avoid this). Any other ideas on how to monkey patch this on 2.2? -- 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

