remoteview framelayout background color
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
how do i set the color usin开发者_Python百科g mColor ?
You should try
remoteView.setInt(R.id.framelayout1, "setBackgroundColor", mColor);
精彩评论