I didn't quite see your problem..however if you want to drawText, you
can create a CustomView and override the onDraw method.

Use the Canvas.drawText method to draw your text.

Also, did you try textview's android:typeface and  android:textStyle
options

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Aug 29, 5:51 am, Sasi Kumar <sasikumar.it1...@gmail.com> wrote:
> please give some suggestion for me.......
>
> I want to draw text in my text view
>
> my class is extended with Activity.
>
> textview t1;
> textview t2;
>
> t1.settext("sun 29 Sug 2009");
> t2.settext("tue 29 Sug 2009");
>
> see here sun and tue both are having same length words but it is
> moving.............
>
> so when i'm showing it is like
>
> sun 29 Sug 2009
> tue 29 Sug 2009
>
> i want it in straight line like
>
> sun 29 Sug 2009
> tue  29 Sug 2009
>
> now i have adjused with giving space.
> but i did not want to give space.
>
> so by drawing we can get these correctly in x and y positions.
>
> Please give idea for these to draw in activity extended class.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to