Answers for "change action bar text color android studio"

0

how to change actionbar color in android programmatically

getSherlockActivity().getSupportActionBar().setBackgroundDrawable(new ColorDrawable(0xff00ACED));
mActionBar.setBackgroundDrawable(new ColorDrawable(0xff00DDED));
mActionBar.setDisplayShowTitleEnabled(false);
mActionBar.setDisplayShowTitleEnabled(true);
Posted by: Guest on June-22-2020
0

set title color in support action bar android

ActionBar actionBar = getActionBar();
         actionBar.setTitle(Html
         .fromHtml("<font color='#ffffff'> Now playing </font>"));
Posted by: Guest on October-06-2020
0

actionbar content color in android

getActionBar()/* or getSupportActionBar() */.setTitle(Html.fromHtml("<font color=\"red\">" + getString(R.string.app_name) + "</font>"));
Posted by: Guest on October-06-2020

Code answers related to "change action bar text color android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language