How to do that?
I have AnalogClock on my xml. And I want drawable for the android:dial to change programatically.
I tried
remoteviews.setImageViewResource(R.id.AnalogClock, R.drawable.w0);
or
remoteviews.setInt(R.id.AnalogClock, "setDialResource", R.drawable.w0);
Both can not accomplish it.
Anyone manage to do this?
Finally make it works.
I put transparent image on AnalogClock android:dial
Then use FrameLayout to overlay ImageView and AnalogClock.
Then use
to change the ImageView image.
It is feasible solution at the moment.