Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
- setContentView(R.layout.l000)
- setSupportActionBar(find(R.id.toolbar))
- supportActionBar?.setDisplayHomeAsUpEnabled(true)
- DrawerBuilder().apply {
- withActivity(this@MainActivity)
- withToolbar(find(R.id.toolbar))
- withActionBarDrawerToggleAnimated(true)
- withSliderBackgroundColor(Color.GREEN)
- }.build()
- //...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement