共用方式為


ZoomButtonsController.SetFocusable(Boolean) Method

Definition

Sets whether the zoom controls should be focusable.

[Android.Runtime.Register("setFocusable", "(Z)V", "GetSetFocusable_ZHandler")]
public virtual void SetFocusable (bool focusable);
[<Android.Runtime.Register("setFocusable", "(Z)V", "GetSetFocusable_ZHandler")>]
abstract member SetFocusable : bool -> unit
override this.SetFocusable : bool -> unit

Parameters

focusable
Boolean

Whether the zoom controls should be focusable.

Attributes

Remarks

Sets whether the zoom controls should be focusable. If the controls are focusable, then trackball and arrow key interactions are possible. Otherwise, only touch interactions are possible.

Java documentation for android.widget.ZoomButtonsController.setFocusable(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