thank you, i have solve it 2011/4/30 Kostya Vasilyev <[email protected]>: > > http://developer.android.com/reference/android/graphics/Paint.html > > Take a pick: > > - getTextSize() > - getTextBounds() > - ascent() / descent() > - getFontMetrics() > > -- Kostya > > 30.04.2011 17:55, a a пишет: >> >> get the text rect, then return the rect height, this is text height. >> >> 2011/4/30 a a<[email protected]>: >>> >>> wrong answer, sorry... >>> >>> 2011/4/30 Marcin Orlowski<[email protected]>: >>>> >>>> On 30 April 2011 12:49, a a<[email protected]> wrote: >>>>> >>>>> paint.measureText("text") return the width, how can i get the height >>>>> of the "text"? >>>> >>>> value you used in setTextSize() * screendensity factor shall mostly give >>>> what you want. >>>> >>>> Regards, >>>> Marcin Orlowski >>>> >>>> Tray Agenda - keep you daily schedule handy... >>>> Date In Tray - current date at glance... >>>> WebnetMobile on Facebook and Twitter >>>> >>>> -- >>>> 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 > > > -- > Kostya Vasilyev -- http://kmansoft.wordpress.com > > -- > 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
-- 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

