mr *_*bum 8 android colors remoteview android-framelayout
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
Run Code Online (Sandbox Code Playgroud)
如何使用mColor设置颜色?
ble*_*enm 20
你应该试试
remoteView.setInt(R.id.framelayout1, "setBackgroundColor", mColor);
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5568 次 |
| 最近记录: |