You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 11, 2025. It is now read-only.
Per-app Language Preferences Sample screen flash and android:configChanges problem #481
Steps to reproduce:
Without
layoutDirection|locale|screenLayoutadded toandroid:configChangesWith
layoutDirection|locale|screenLayoutadded toandroid:configChangesTo fix the screen flash problem during language switching, I tried to add layoutDirection|locale to android:configChanges to <activity>
Additional information
There are several articles mentioned attachBaseContext and onConfigurationChanged, but I couldn't find any up-to-date solution.