How to Enable Drawer without Enabling ActionBar in Sketchware

The code for hiding ActionBar in Sketchware is:

if(_abshown==true  ){
getSupportActionBar().show();
}else{
if(_abshown==false){
getSupportActionBar().hide();
}else{
}
}

This code must be placed in the MoreBlock. The MoreBlock must be created with a boolean variable. Then place the MoreBlock in OnCreate Activity and make the boolean variable False. For detailed explanation follow the Video.

Comments

Popular posts from this blog

How to Create Material Ripple Effect in Sketchware

How to Create Custom Notifications with Listeners

How to create Custom Dialog in Sketchware