次の方法で共有


WindowManagerLayoutParams.X Property

Definition

X position for this window.

[Android.Runtime.Register("x")]
public int X { get; set; }
[<Android.Runtime.Register("x")>]
member this.X : int with get, set

Property Value

Attributes

Remarks

X position for this window. With the default gravity it is ignored. When using Gravity#LEFT or Gravity#START or Gravity#RIGHT or Gravity#END it provides an offset from the given edge.

Java documentation for android.view.WindowManager.LayoutParams.x.

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