开发者

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);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜