Hi guys,

How can i layout text(get the width and height) from c/c++ and in non-UI 
thread?

I have been developing a dynamic layout engine(written in c) which takes 
html(css + dom tree) as input and generates a native android view.
The key point of affecting the performance is the must layout process in 
java layer(new TextView or Html.from + TextView.setText() + 
TextView.measure()) which can't execute on non-UI thread
and can't be done directly from c.

BR,
fay

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at http://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4a658df0-6ae5-45b6-9d37-fa6f49503829%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to