Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Padding not working on Android #18

Description

@giuseppe-terrasi

Hi,
i noticed that if I set the properties LeftPadding or RightPadding or TopBottomPadding they are ignored on Android but they works perfectly on iOS.

This is related on
_gradientDrawable.GetPadding(padding);
inside LeoJHarris.FormsPlugin.Droid.EnhancedEntryRenderer.

This works:

Control.SetPadding(entryExt.LeftPadding, entryExt.TopBottomPadding / 2, entryExt.RightPadding, entryExt.TopBottomPadding / 2);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions