View.OffsetTopAndBottom(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将此视图的垂直位置偏移指定的像素数。
[Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")]
public virtual void OffsetTopAndBottom (int offset);
[<Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")>]
abstract member OffsetTopAndBottom : int -> unit
override this.OffsetTopAndBottom : int -> unit
参数
- offset
- Int32
要偏移视图的像素数
- 属性
注解
将此视图的垂直位置偏移指定的像素数。
的 android.view.View.offsetTopAndBottom(int)
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。