[android-developers] Re: allign text vertically in a text view

2010-08-01 Thread harshe
yeah it works ... thanks a lot paul...:) hey Paul I have posted one more query regarding pinch in pinch out zoom can u plz check and share ur idea on that and help me in resolving it .. PLZZZ On Jul 28, 12:50 pm, Paul Turchenko wrote: > Yeah, no problem with that. Just declare you DemoV

[android-developers] Re: allign text vertically in a text view

2010-07-28 Thread Paul Turchenko
Yeah, no problem with that. Just declare you DemoView in the layout. For now it goes like this: And set this layout to be activity's content. On Jul 27, 1:32 pm, harshe wrote: > Thanks Paul.As u said, the following code works well . But it > looks like a custom view , i cant see the text

[android-developers] Re: allign text vertically in a text view

2010-07-27 Thread harshe
Thanks Paul.As u said, the following code works well . But it looks like a custom view , i cant see the textview itself. I have set the ContentView to main.XML only but still the views in the main.XML r not seen. am getting an output were i can see only the given string rotated -90 degrees in t

[android-developers] Re: allign text vertically in a text view

2010-07-26 Thread Paul Turchenko
Inherit from TextView, override measure pass and during draw, rotate the canvas, call super, restore it. This will do the trick On Jul 26, 12:38 am, harshe wrote: > I have a textview placed vertically in an activity.. I Want the text > within the textview to be shown as bottom to top facing right

[android-developers] Re: allign text vertically in a text view

2010-07-25 Thread Kumar Bibek
Not layout_gravity, but only gravity. There are several other types of gravity which you can apply to any view. center|center_vertical|center_horizontal And there are a few others. Try those out. -Kumar Bibek http://tech-droid.blogspot.com On Jul 26, 2:38 am, harshe wrote: > I have a textview