共用方式為


IPropertyReader.ReadGravity(Int32, Int32) Method

Definition

Read android.view.Gravity packed into an primitive int.

[Android.Runtime.Register("readGravity", "(II)V", "GetReadGravity_IIHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadGravity (int id, int value);
[<Android.Runtime.Register("readGravity", "(II)V", "GetReadGravity_IIHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadGravity : int * int -> unit

Parameters

id
Int32

Identifier of the property from a PropertyMapper

value
Int32

Value of the property

Attributes

Remarks

Read android.view.Gravity packed into an primitive int.

Java documentation for android.view.inspector.PropertyReader.readGravity(int, int).

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