View.SetLeftTopRightBottom(Int32, Int32, Int32, Int32) メソッド

定義

このビューにサイズと位置を割り当てます。

[Android.Runtime.Register("setLeftTopRightBottom", "(IIII)V", "", ApiSince=29)]
public void SetLeftTopRightBottom (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setLeftTopRightBottom", "(IIII)V", "", ApiSince=29)>]
member this.SetLeftTopRightBottom : int * int * int * int -> unit

パラメーター

left
Int32

親に対する相対的な左の位置

top
Int32

親に対する相対的な上の位置

right
Int32

右の位置(親に対する相対位置)

bottom
Int32

下の位置(親に対する相対位置)

属性

注釈

このビューにサイズと位置を割り当てます。

このメソッドは、一時的なビューにのみこの位置とサイズを適用し、レイアウトによっていつでも元に戻すことができるため、アニメーションでのみ使用することを目的としています。

android.view.View.setLeftTopRightBottom(int, int, int, int)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象