mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
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:
parent
eb9302c9a2
commit
75b2f9edbc
1 changed files with 2 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue