Skip to content

Instantly share code, notes, and snippets.

@skydoves
Last active January 23, 2025 01:56
Show Gist options
  • Save skydoves/4858612b345bb4b808c28325e1fbc963 to your computer and use it in GitHub Desktop.
Save skydoves/4858612b345bb4b808c28325e1fbc963 to your computer and use it in GitHub Desktop.
video_theme
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