How to set a Subtitle on ActionBar in Sketchware
Open OnCreate event
Now insert this code(View on Github):
Alternatively, you can use(View on Github):
Done. You will now see Subtitle.
Open OnCreate event
Now insert this code(View on Github):
getActionBar().setSubtitle("BYE");
Alternatively, you can use(View on Github):
getSupportActionBar().setSubtitle("BYE");
Done. You will now see Subtitle.
Comments
Post a Comment