-
-
Save KatieBarnett/605eb37308c5cbeeb3fd1740ff55fa3f to your computer and use it in GitHub Desktop.
Edge to edge basic
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 MainActivity : ComponentActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
// Add this line to enable edge-to-edge | |
enableEdgeToEdge() | |
setContent { | |
MainScreen() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment