After migrating to AndroidX and upping target SDK to 28 my SettingsPage has lost the dividers between the PreferenceScreen components and the text is not left aligned. Can anyone help?
`
<PreferenceScreen android:title="@string/dummy_string_1">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="@string/app_package_name" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/dummy_string_2">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="@string/app_package_name" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/dummy_string_3">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="@string/app_package_name" />
</PreferenceScreen>
`
Create your own layout with a divider and then add the folowing tag:
android:layout="@layout/divider_preference"