universal7885: SamsungParts: styles.xml: specify dialog theme

*  Need to set the theme for dialogs and alertDialogs. Without it the ListPreference crashes

https: //stackoverflow.com/questions/43784891/android-preferencefragmentcompat-crashing-on-listpreference-view
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Change-Id: Ib02be040fd27238e6c10c587402dcf7aeaaec55b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-11-20 02:13:57 +09:00
commit 75b2f9edbc
No known key found for this signature in database
GPG key ID: 9675C32163D88D30

View file

@ -3,6 +3,8 @@
<style name="CustomOptionsTheme" parent="@android:style/Theme.DeviceDefault.Settings">
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="preferenceTheme">@style/PreferenceTheme</item>
<item name="dialogTheme">@style/Theme.MaterialComponents.Dialog</item>
<item name="alertDialogTheme">@style/Theme.MaterialComponents.Dialog</item>
</style>
<style name="PreferenceTheme" parent="@style/PreferenceThemeOverlay.v14.Material">