AppWidgetHostView.ResetColorResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reset the dynamically overloaded resources, reverting to the default values for all the colors.
[Android.Runtime.Register("resetColorResources", "()V", "GetResetColorResourcesHandler", ApiSince=31)]
public virtual void ResetColorResources ();
[<Android.Runtime.Register("resetColorResources", "()V", "GetResetColorResourcesHandler", ApiSince=31)>]
abstract member ResetColorResources : unit -> unit
override this.ResetColorResources : unit -> unit
- Attributes
Remarks
Reset the dynamically overloaded resources, reverting to the default values for all the colors.
If colors were defined before, calling this method will trigger a full re-inflation of the App Widget.
Java documentation for android.appwidget.AppWidgetHostView.resetColorResources()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.