Hi Hackbod

The xml I posted was just a test file.  The real one has a list of
selections.  But currently I just want something to work with rounded
corners, so I placed a simple button inside the view.  DrawableCorners is
the attribute tag I found in class android.R.styleable at this link
http://code.google.com/android/reference/android/R.styleable.html
If I can just get one simple button or textview or imagebutton to work with
rounded corners, I can fix the rest of my real view.  Thanks.

Hsiaoyun

On Fri, Sep 5, 2008 at 1:30 AM, hackbod <[EMAIL PROTECTED]> wrote:

>
> Um, that XML is really broken.  You have attributes outside of the
> <Button> tag, there is no such thing as a DrawableCorners class, and
> it wouldn't go inside of a <Button> anyway.
>
> I don't believe we have many facilities at this point to customize the
> look of menus, but your XML doesn't look like it would have anything
> to do with menus, so I'm not sure what you mean by "menu view."
>
> On Sep 4, 7:50 pm, "hsiaoyun sue" <[EMAIL PROTECTED]> wrote:
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to