[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Romain Guy
It's actually pretty easy. Just use a View and give it a small height. For instance: On Wed, Apr 2, 2008 at 12:28 PM, Ram <[EMAIL PROTECTED]> wrote: > > Hi, I have a somewhat simple UI question. > > I'd like to draw a clear separator (a single line or double-edged > line) between a button an

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Harsh Jain
You can do a ListView.setDivider(Drawable d). or ListView.setDividerHeight. On Thu, Apr 3, 2008 at 1:00 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > > It's actually pretty easy. Just use a View and give it a small height. > For instance: > > android:layout_width="fill_parent" > android:layout_h

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Ram
Thanks Romain guy. I'll go with your suggestion Btw Harish, ListView.setDivider sets the divider between individual lines within the listview and wouldn't be applicable to a separator between a listview and other controls. On Apr 2, 12:52 pm, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > You can do

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread Harsh Jain
my bad i didnt read ur posting properly. On Thu, Apr 3, 2008 at 4:29 AM, Ram <[EMAIL PROTECTED]> wrote: > > Thanks Romain guy. I'll go with your suggestion > > Btw Harish, ListView.setDivider sets the divider between individual > lines within the listview and wouldn't be applicable to a separator

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 6:06 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > my bad i didnt read ur posting properly. > > > > On Thu, Apr 3, 2008 at 4:29 AM, Ram <[EMAIL PROTECTED]> wrote: > > > Thanks Romain guy. I'll go with your suggestion > > > Btw Harish, ListView.setDivider sets the divider between indivi

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 2:52 am, "Harsh Jain" <[EMAIL PROTECTED]> wrote: > You can do a ListView.setDivider(Drawable d). or ListView.setDividerHeight. > > > > On Thu, Apr 3, 2008 at 1:00 AM, Romain Guy <[EMAIL PROTECTED]> wrote: > > > It's actually pretty easy. Just use a View and give it a small height. > >

[android-developers] Re: Line separator (between views/controls on activity page)

2008-04-02 Thread guzarva
On Apr 3, 5:59 am, Ram <[EMAIL PROTECTED]> wrote: > Thanks Romain guy. I'll go with your suggestion > > Btw Harish, ListView.setDivider sets the divider between individual > lines within the listview and wouldn't be applicable to a separator > between a listview and other controls. > > On Apr 2,