Hi
I am trying to round the corners of my rectagular manu view. I can use
textview, button or imagebutton. How do I do that?
I tried to play with the location of DawableCorner, but no luck.
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout
android:id="@+id/widget0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<Button>
android:id="@+id/widget35"
android:layout_width="168px"
android:layout_height="107px"
android:text="Button"
android:layout_x="43px"
android:layout_y="122px"
<DrawableCorners>
android:bottomLeftRadius="7dp"
android:bottomRightRadius="7dp"
android:topLeftRadius="1dp"
android:topRightRadius="1dp"
</DrawableCorners>
</Button>
</AbsoluteLayout>
Thanks.
Hsiaoyun
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---