android - Change the App name to some other text in the top bar -
can please tell me how change app name in top bar of android app gets displayed default other text? have seen in few apps used before. i'm building first android app , don't have experience stuff... thank :)
it easier if convert actionbar (which think bar mean) toolbar if want further modifications (as assume):
toolbar toolbar = (toolbar) findviewbyid(r.id.toolbar); setsupportactionbar(toolbar);
to change title call actionbar.settitle shown here:
actionbar = getsupportactionbar(); actionbar.settitle("your title");
and if want subtitle add:
actionbar.setsubtitle("your subtitle");
Comments
Post a Comment