I am trying to, somewhat clone the design of an activity from a set of slides on Android UI design. However I am having a problem with a very simple task.
I have cre
Kotlin
linearLayout.setBackgroundColor(Color.rgb(0xf4,0x43,0x36))
or
#f44336
-
linearLayout.setBackgroundColor(ContextCompat.getColor(vista.context, R.color.newColor))