write this single line code

linear1.setBackgroundColor(Color.parseColor("#000000"));