android update widget appearance
问题 I want to change one of the visual elements of an android widget when the user clicks it. This is in the widget's xml <ImageView android:id="@+id/bg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="false" android:layout_marginLeft="20dp" android:layout_marginTop="18dp" android:src="@drawable/seal" /> I want to change the src based on an ID, so from the widget I plan to send the remoteView a click listener Intent bgSwitch = new Intent