A very old post, but for those who stumble upon this. I was not sure if the OP was asking how to change the separator or where the separators came from. Therefore, I will appeal to both.
As
Preferences uses ListViewto fill in all the individual settings. This means that you can change the delimiter using the .setDivider()from method ListView. A PreferenceActivitywill already have a method getListView()for you. However, for PreferenceFragmentsjust use the identifier android.R.id.listto find it.
If you do not want to change the divisor through the code, you can always use the theme by overriding the attribute listDivider. For instance:
<item name="android:listDivider">@drawable/custom_divider</item>
Please note that this will change the separator for EVERYONE ListViewin your application.
listDivider , Android . Android SDK :
[Android SDK]//[API]/data/res/drawable- [DPI]/
`* divider_horizontal *`, . .