Created
May 9, 2019 11:20
-
-
Save tsuijten/9db0122af4578484cb769face61d32c2 to your computer and use it in GitHub Desktop.
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
class ComposeActivity : Activity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContent { CraneWrapper { MyApp() } } | |
} | |
@Composable | |
fun MyApp() { | |
MaterialTheme { | |
Text(text = "Hello world!", style = +themeTextStyle { h3 }) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment