5
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
मैं mcolor का उपयोग कर रंग कैसे सेट करूं?रिमोटव्यू framelayout पृष्ठभूमि रंग
int mColor = 0xff00ff00;
remoteView.setInt(R.id.framelayout1, "setBackgroundResource", android.R.color.white);
मैं mcolor का उपयोग कर रंग कैसे सेट करूं?रिमोटव्यू framelayout पृष्ठभूमि रंग
आप की कोशिश करनी चाहिए
remoteView.setInt(R.id.framelayout1, "setBackgroundColor", mColor);
धन्यवाद यह काम करता है :) –