Our Android app has been without list dividers on android and I have reasons to think this is due the Default theme.
After I change the theme to Holo Light the dividers start showing up, but I didn't want to change the default theme.
I did this by adding
Theme = "@android:style/Theme.Holo.Light" in my mainActivity header
How can I set the android style just to include the dividers with a black color?
I've tried to do it by creating my own style/theme but didnt seem to work
my manifest I've added
<application android:label="myApp.android" android:icon="@drawable/Icon" android:theme="@style/AppTheme">
AppTheme.xml
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="AppTheme">
<item name="android:listViewStyle">@style/App_ListViewStyle</item>
</style>
</resources>
==ListViewStyle.xml==
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="App_ListViewStyle" parent="@android:style/Widget.ListView">
<item name="android:headerDividersEnabled">false</item>
<item name="android:divider">#FF0000</item>
<item name="android:dividerHeight">4sp</item>
</style>
</resources>