Want to handle the Font Style Change myself.what will be the value?
Using the below values now.But the system kills the app and restarts.
android:configChanges="orientation|keyboardHidden|fontScale|locale|layoutDirection|screenSize|screenLayout|mnc|mcc|uiMode|navigation|smallestScreenSize"
Thanks
Nitz
I don't think this is possible, unfortunately. This seems to be using a different mechanism instead of configuration changes.
android.intent.action.CONFIGURATION_CHANGED
does not receive an Intent when a new font is selected in the dialog (but it does when the font size is changed, for example).android:configChanges
attribute does not accept arbitrary values, but only those listed in the documentation. So there would be no way to handle custom configuration changes.If I had to guess, I'd say that Samsung's custom UI forcibly restarts all applications whenever the font is changed.