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

