Answers for "set color programmatically android"

2

android settextcolor programmatically

mTextView.setTextColor(Color.parseColor("#bdbdbd"));
Posted by: Guest on September-05-2020
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 "set color programmatically android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language