Forum Xamarin.Android

I have a visual error when pressing a button (It shows a darker rectangle), will it have a solution?

Answers

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    Could your share some related code to reproduce this issue?

    You can try to change another device to make a test, it this issue is still existed.

    I test it in Android 9.0, it worked as normal.

  • VmurilloTVmurilloT Member ✭✭

    @LeonLu said:
    Could your share some related code to reproduce this issue?

    You can try to change another device to make a test, it this issue is still existed.

    I test it in Android 9.0, it worked as normal.

    error is when adding CornerRadius property

  • LeonLuLeonLu Member, Xamarin Team Xamurai

    You can see my button running GIF. It worked as normal.

    My button's code <Button Text="ENVIAR ORDEN" Command="{Binding Button1Command}" BackgroundColor="YellowGreen" CornerRadius="5" ></Button>

    My Xamarin Forms nuget package version is 4.6.0.726, please update your nuget packages to the latest, if it works as normal.

Sign In or Register to comment.