Udostępnij za pośrednictwem


AnalogClock.SetHourHand(Icon) Method

Definition

Sets the hour hand of the clock to the specified Icon.

[Android.Runtime.Register("setHourHand", "(Landroid/graphics/drawable/Icon;)V", "GetSetHourHand_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)]
public virtual void SetHourHand (Android.Graphics.Drawables.Icon icon);
[<Android.Runtime.Register("setHourHand", "(Landroid/graphics/drawable/Icon;)V", "GetSetHourHand_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)>]
abstract member SetHourHand : Android.Graphics.Drawables.Icon -> unit
override this.SetHourHand : Android.Graphics.Drawables.Icon -> unit

Parameters

icon
Icon
Attributes

Remarks

Sets the hour hand of the clock to the specified Icon.

Java documentation for android.widget.AnalogClock.setHourHand(android.graphics.drawable.Icon).

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.

Applies to