If there is complete documentation describing the valid elements and
attributes allowed for creating a drawable in XML, I have not been
able to find it.  I see snippets here and there of how to kinda, sorta
do things with XML drawables, but that is not sufficient.  At the very
least, I would love to see a published schema/dtd with what is
allowed.

Can someone on the Android team that knows this information either
point us to where the documentation is, or add the documentation if it
is missing.

Regards,

- Mike

On Dec 1, 9:09 am, Alexey Volovoy <[email protected]> wrote:
> Anybody figured this out yet ? I need same thing..
>
> On Nov 16, 5:44 pm, Matthew Wardrop <[email protected]> wrote:
>
> > I too would like to know this.
>
> > On Oct 23, 1:31 pm, junker37 <[email protected]> wrote:
>
> > > I am wondering how to do this as well.  Also, I can't seem to find
> > > where this is documented.
>
> > > On Oct 19, 4:19 am, Viktor Bresan <[email protected]> wrote:
>
> > > > Hi all.
>
> > > > I would like to have ashapethat hasborderonly on 3 sides: top,
> > > > left and right, i.e. I want bottom to beopen.  How can I achieve that
> > > > definingshapeinXML?
>
> > > > Currently I have a normal 4 sideborderusing the followingshapeXML
> > > > definition:
>
> > > > <?xmlversion="1.0" encoding="utf-8"?>
> > > > <shapexmlns:android="http://schemas.android.com/apk/res/android";
> > > >     android:layout_width="fill_parent"
> > > >     android:layout_height="fill_parent"
> > > >         >
>
> > > >         <solid android:color="#FFE8F0F8"
> > > >                    />
>
> > > >     <strokeandroid:width="1dp"
> > > >                 android:color="#808480"
> > > >                 />
>
> > > >     <padding android:left="1dp"
> > > >                  android:top="1dp"
> > > >              android:right="1dp"
> > > >              android:bottom="1dp"
> > > >              />
> > > > </shape>
>
> > > > Many thanks, Viktor.

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