次の方法で共有


TimePicker.SetIs24HourView(Boolean) Method

Definition

Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker.

[Android.Runtime.Register("setIs24HourView", "(Ljava/lang/Boolean;)V", "GetSetIs24HourView_Ljava_lang_Boolean_Handler")]
public virtual void SetIs24HourView (Java.Lang.Boolean is24HourView);
[<Android.Runtime.Register("setIs24HourView", "(Ljava/lang/Boolean;)V", "GetSetIs24HourView_Ljava_lang_Boolean_Handler")>]
abstract member SetIs24HourView : Java.Lang.Boolean -> unit
override this.SetIs24HourView : Java.Lang.Boolean -> unit

Parameters

is24HourView
Boolean

true to display in 24-hour mode, false for 12-hour mode with AM/PM

Attributes

Remarks

Sets whether this widget displays time in 24-hour mode or 12-hour mode with an AM/PM picker.

Java documentation for android.widget.TimePicker.setIs24HourView(java.lang.Boolean).

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

See also