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.
if(_abshown==true ){
getSupportActionBar().show();
}else{
if(_abshown==false){
getSupportActionBar().hide();
}else{
}
}
Comments
Post a Comment