[android-developers] How to draw a border like each row in a list view

2009-12-01 Thread n179911
Hi, Between each row in list view, android draw a horizontal line (fades away at both ends). If I have a LinearLayout view, how can i add a border like that? Thank you. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

Re: [android-developers] How to draw a border like each row in a list view

2009-12-01 Thread Mark Murphy
> Hi, > > Between each row in list view, android draw a horizontal line (fades away > at > both ends). > If I have a LinearLayout view, how can i add a border like that? Add a 1px high View with a suitable background color or gradient in between each of your other widgets in the LinearLayout. --

Re: [android-developers] How to draw a border like each row in a list view

2009-12-16 Thread n179911
Hi, I have tried to draw a horizontal line at the BOTTOM of my linear layout. Here is my linear layout file: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="cente