[android-developers] Re: Shape with open border

2009-12-16 Thread Mike
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 avolo...@gmail.com wrote:
 Anybody figured this out yet ? I need same thing..

 On Nov 16, 5:44 pm, Matthew Wardrop mister.ward...@gmail.com wrote:

  I too would like to know this.

  On Oct 23, 1:31 pm, junker37 junke...@gmail.com 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 viktor.bre...@gmail.com 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Shape with open border

2009-12-01 Thread Alexey Volovoy
Anybody figured this out yet ? I need same thing..

On Nov 16, 5:44 pm, Matthew Wardrop mister.ward...@gmail.com wrote:
 I too would like to know this.

 On Oct 23, 1:31 pm, junker37 junke...@gmail.com 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 viktor.bre...@gmail.com 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Shape with open border

2009-11-16 Thread Matthew Wardrop
I too would like to know this.

On Oct 23, 1:31 pm, junker37 junke...@gmail.com 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 viktor.bre...@gmail.com 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
                     /

      stroke android: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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Shape with open border

2009-10-22 Thread junker37

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 viktor.bre...@gmail.com wrote:
 Hi all.

 I would like to have ashapethat has border only on 3 sides: top,
 left and right, i.e. I want bottom to be open.  How can I achieve that
 definingshapeinXML?

 Currently I have a normal 4 side border using 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
                    /

     stroke android: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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---