ILocationButtonSession.SetPadding(Int32, Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置容器中位置按钮的填充。
[Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)]
public void SetPadding(int left, int top, int right, int bottom);
[<Android.Runtime.Register("setPadding", "(IIII)V", "GetSetPadding_IIIIHandler:Android.App.PermissionUI.ILocationButtonSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=37)>]
abstract member SetPadding : int * int * int * int -> unit
参数
- left
- Int32
左侧填充(以像素为单位)。
- top
- Int32
顶部填充(以像素为单位)。
- right
- Int32
右侧填充(以像素为单位)。
- bottom
- Int32
底部填充(以像素为单位)。
- 特性
注解
设置容器中位置按钮的填充。
有关输入约束,请参阅填充集器(例如 LocationButtonRequest.Builder.setPaddingLeft(int)。
Android 参考。android.app.permissionui.LocationButtonSession.setPadding
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。