remoteview framelayout background color
-
24-01-2021 - |
Question
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
how do i set the color using mColor ?
Solution
You should try
remoteView.setInt(R.id.framelayout1, "setBackgroundColor", mColor);
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow