-
-
Save skydoves/4858612b345bb4b808c28325e1fbc963 to your computer and use it in GitHub Desktop.
video_theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setContent { | |
VideoTheme( | |
colors = StreamColors.defaultColors().copy(appBackground = Color.Black), | |
dimens = StreamDimens.defaultDimens().copy(callAvatarSize = 72.dp), | |
shapes = StreamShapes.defaultShapes().copy( | |
avatar = RoundedCornerShape(8.dp), | |
callButton = RoundedCornerShape(16.dp), | |
callControls = RectangleShape, | |
callControlsButton = RoundedCornerShape(8.dp) | |
) | |
) { | |
CallContent( | |
modifier = Modifier.fillMaxSize(), | |
call = call, | |
onBackPressed = { finish() }, | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment