WindowInsets.Builder.SetFrame(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置用于构造窗口内集的框架尺寸。
[Android.Runtime.Register("setFrame", "(II)Landroid/view/WindowInsets$Builder;", "", ApiSince=35)]
public Android.Views.WindowInsets.Builder SetFrame(int width, int height);
[<Android.Runtime.Register("setFrame", "(II)Landroid/view/WindowInsets$Builder;", "", ApiSince=35)>]
member this.SetFrame : int * int -> Android.Views.WindowInsets.Builder
参数
- width
- Int32
框架的宽度。
- height
- Int32
框架的高度。
返回
此生成器。
- 特性
注解
有关详细信息,请参阅 Android.view.WindowInsets.Builder.setFrame 的 Android 参考文档。
Java android.view.WindowInsets.Builder.setFrame 的文档。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。