Re: [android-developers] using Paint to draw text with specified locale on pre-API 17

2013-01-20 Thread Latimerius
On Sat, Jan 19, 2013 at 11:15 PM, Romain Guy wrote: > The text locale on the Paint is used to resolve direction (right to > left/left to right.) It won't affect text translations. > Thanks for your reply, Romain. The direction is actually precisely the thing I'm worried about. I need to render

Re: [android-developers] using Paint to draw text with specified locale on pre-API 17

2013-01-19 Thread Romain Guy
The text locale on the Paint is used to resolve direction (right to left/left to right.) It won't affect text translations. On Sat, Jan 19, 2013 at 12:38 PM, Latimerius wrote: > Hello, > > I'd like to use Paint to draw test with en_US locale regardless of the > default locale set on a device.

[android-developers] using Paint to draw text with specified locale on pre-API 17

2013-01-19 Thread Latimerius
Hello, I'd like to use Paint to draw test with en_US locale regardless of the default locale set on a device. I'm aware of Paint.setTextLocale(), however that function only exists since API 17 and our minSdkVersion is 7. Is there a way to achieve this on earlier Android version? Thanks in advanc