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 <[email protected]> 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 side.
> Can anyone please help me out..........
> my XML file is
>
> <TextView
>     android:layout_height="200dp"
>     android:layout_width="50dp"
>     android:paddingTop="100dp"
>     android:text="ALL"
>     android:textSize=" 20px"
>     android:autoText="true"
>      android:paddingLeft="5dp"
>      android:layout_gravity="fill_vertical"
>   />

-- 
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

Reply via email to