While using the default PreferenceThemeOverlay from the preference-v7 support library (version 23.1.0) I ran into the following issue. Starting from API 22 my PreferenceFragmentCompat had an ugly additional padding added to the left and right side of my preference list.
build.gradle:
compile 'com.android.support:appcompat-v7:23.1.0'
styles.xml:
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
After I didn't find any helpful solution on stackoverflow I wrote a workaround myself. I just wanted to share with u guys.
AppTheme.FixForPreferenceFragmentList
hasparent="@style/PreferenceFragmentList"
– Bopp