次の方法で共有


ViewConfiguration.Get(Context) Method

Definition

Returns a configuration for the specified visual Context.

[Android.Runtime.Register("get", "(Landroid/content/Context;)Landroid/view/ViewConfiguration;", "")]
public static Android.Views.ViewConfiguration? Get (Android.Content.Context context);
[<Android.Runtime.Register("get", "(Landroid/content/Context;)Landroid/view/ViewConfiguration;", "")>]
static member Get : Android.Content.Context -> Android.Views.ViewConfiguration

Parameters

context
Context

A visual Context used to initialize the view configuration. It must be Activity or other Context created with Context#createWindowContext(int, Bundle).

Returns

Attributes

Remarks

Returns a configuration for the specified visual Context. The configuration depends on various parameters of the Context, like the dimension of the display or the density of the display.

Java documentation for android.view.ViewConfiguration.get(android.content.Context).

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