We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After override the context configuration to prevent font scaling and density scaling, the full screen dialog displays an error.
override fun attachBaseContext(newBase: Context) { val resources = newBase.resources val overrideConfiguration = Configuration(resources.configuration) .apply { fontScale = 1.0f densityDpi = resources.displayMetrics.xdpi.toInt() } super.attachBaseContext( newBase.createConfigurationContext(overrideConfiguration) ) }
After set defaultPlayerView background to GRAY.
DisposableEffect( AndroidView( modifier = modifier, factory = { defaultPlayerView.apply { useController = usePlayerController resizeMode = surfaceResizeMode.toPlayerViewResizeMode() setBackgroundColor(Color.GRAY) } }, ), ) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After override the context configuration to prevent font scaling and density scaling, the full screen dialog displays an error.
After set defaultPlayerView background to GRAY.
The text was updated successfully, but these errors were encountered: