Hi, There is a bug with dividers and solid colors in Android 1.0. This bug has been fixed in Cupcake. In the meantime, you should use a 9-patch.
On Thu, Jan 15, 2009 at 12:50 AM, for android <forandr...@gmail.com> wrote: > Hello, > > I understand the posting on the blog of android-developers > > I was just wondering when a list is getting displayed on solid back ground > and I give a divider color in it .Why do i not get it the way i desire ? > > For eg in the code below i need list with blue background and a divider of > white? But when i apply the divider color i dont get any ??Whats the reasin > for this?? > > <ListView android:id="@android:id/list" android:background="#C2DFFF" > android:layout_width="fill_parent" android:divider="#FFFFFF" > android:layout_height="fill_parent" /> > > I have attached the sample code for the example I tried... > > > > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---