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
> between a listview and other controls.
>
> On Apr 2, 12:52 pm, "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.
> > > For instance:
> >
> > > <View
> > >  android:layout_width="fill_parent"
> > >  android:layout_height="2dip"
> > >  android:background="#FFFFFFFF" />
> >
> > > 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 and a listview.
> >
> > > >  One way to draw the separator might be to place a custom view
> > > >  inbetween the two controls (and implement the custom view to draw a
> > > >  line).
> > > >  However, I'm guessing that the Android apis might offer a better
> way
> > > >  to draw a separator on the page.
> >
> > > >  Does any have comments on alternatives to implementing a simple
> custom
> > > >  LineView to separate the controls.
> >
> > > --
> > > Romain Guy
> > >www.curious-creature.org- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to