I have an application in android in which I'm setting the text of a button using a FrameLayout
, something like:
<FrameLayout android:layout_width="fill_parent"
android:layout_toRightOf="@id/surface_camera"
android:layout_height="fill_parent">
<Button android:layout_width="match_parent"
android:id="@+id/btnPhoto"
android:layout_height="match_parent"/>
<TextView
android:layout_width="match_parent"
android:id="@+id/textview"
android:textColor="#000000"
android:textSize="20dip"
android:layout_gravity="center_horizontal|bottom"
android:layout_height="match_parent"
android:text="Take Photo"
/>
</FrameLayout>
And the result looks like this: http://i53.tinypic.com/2ypgn0l.png
What I wanna ask is there any posibility that further more using this FrameLayout
I could rotate this text???...Let say with 90 degrees...And if YES
, how?Thank you!