Last active
May 2, 2021 18:18
-
-
Save waseefakhtar/7d7dc52739003b4be8440b784a71e3bf 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
val drawer = findViewById(R.id.drawer) | |
val drawerToggle = ActionBarDrawerToggle(this, drawer, R.string.open, R.string.close) | |
drawer.addDrawerListener(drawerToggle) | |
drawerToggle.syncState() | |
supportActionBar?.setDisplayHomeAsUpEnabled(true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment