Views don't have a frame; however, they have a background and padding that
you can use to create a frame.  Typically how you would do this is draw a
9-patch image of your frame, marking up along the edges where you want it to
stretch and where the inner content area is, and set this as your
background.  Then the view will draw the image behind itself, and will get
the padding from the drawable (based on the content area you marked along
the edge) to place its content inside.

On Thu, Sep 10, 2009 at 10:48 PM, Dilli <[email protected]> wrote:

>
> Hi
>
> I want to set a border ( thick line) to the linear layout
>
> is it possible then how can i set it
>
>
> Thank you
>
> Dilli
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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