How to customize the line in Android ICS-style dialogs -


How do I style the blue divider between the title of the dialog and the content (see screenshot)?

I like to do it via XML, but if necessary, I take a programmatic solution.

I have default styles Themes.xml of Xml and android-15, but I

standard Android communication

If you are using ActionBarSherlock, you can see it by looking at abs_dialog_title_holo.xml . There you will see that the blue line is a dividend defined by a view:

  Android: id = "@ + id / abs__titleDivider" Android: layout_width = "fill_parent" Android: Layout_height = "2dip" Android: background = "@color / abs__holo_blue_light" />    

Comments