draw text as big as possible inside a rectangle

by Ralf » Sun, 12 Apr 2009 10:37:14 GMT


Sponsored Links
 Are you looking for Paint.measureText?
 http://developer.android.com/reference/android/graphics/Paint.html #measureText(java.lang.String)

Example here:
 http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/MeasureText.html 

R/

On Sat, Apr 11, 2009 at 6:42 AM, Michael Bollmann



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Algorithm for building 3D shapes with GL_TRIANGLE_STRIP needed

I am looking for a good way to triangulate for building shapes with
GL_TRIANGLE_STRIP. I made a working algorith and working code for
building 3D shapes a few years ago. This has worked on M3G, Java3D and
Symbian Open GL C++. It does for some reason not work like it should
on Android Open GL. The shapes that I try to build do not look like
they should here.

I am calculating the points to the 3d shapes from mathematical
formulas, but I need to find a better way to triangulate these points,
so I build the 3d shapes. Does anyone know a good algorithm for this
or maybe some code that I can use?

-- 

2. [ WTA-NUBIE ] Apakah root saya berhasil di Incredible??

Dear para suhu android..
Ass subject,saya ingin bertanya apakah rooting saya berhasil atau tidak yah?
Superuser permision muncul,tapi menu hboot nya tidak ada,lalu saat saya
running titanium back up terdapat keterangan kalo hh saya blum root..

Mohon pencerahannya para suhu..

Regard..

~Januar Murfi~
(True incredible android phone)

-- 
"

3. Salam Kenal - Sekalian WTA : LG P500 restart randomly

4. Proxy development (in source)

5. How to add horizontal scrollbar at runtime?

6. resume issue

7. How do i upload the file from android mobile to public server