Answers for "how to change the color of action bar in android studio using color code"

1

change color of action bar android studio

getSupportActionBar().setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.red)));
Posted by: Guest on May-26-2021
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

Code answers related to "how to change the color of action bar in android studio using color code"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language