LocationButtonRequest.Builder.SetPaddingRight(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the right padding of the button.
[Android.Runtime.Register("setPaddingRight", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)]
public Android.App.PermissionUI.LocationButtonRequest.Builder SetPaddingRight(int paddingRight);
[<Android.Runtime.Register("setPaddingRight", "(I)Landroid/app/permissionui/LocationButtonRequest$Builder;", "", ApiSince=37)>]
member this.SetPaddingRight : int -> Android.App.PermissionUI.LocationButtonRequest.Builder
Parameters
- paddingRight
- Int32
Returns
- Attributes
Remarks
Sets the right padding of the button.
The padding must be between 4dp and 8dp (inclusive). This restricted range ensures a safe and standardized button appearance and touch target.
Values outside this range will be clamped. If not explicitly set, it defaults to 4dp.
Android reference for android.app.permissionui.LocationButtonRequest.Builder.setPaddingRight.
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.