5
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
如何设置使用mColor的颜色?remoteview framelayout background color
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
如何设置使用mColor的颜色?remoteview framelayout background color
你应该尝试
remoteView.setInt(R.id.framelayout1, "setBackgroundColor", mColor);
谢谢工程:) –