Skip to content

[regression/8.0.0-preview.6.8686] Button Click Ripple Effect Not Working In Android #17642

@welcometochristown

Description

@welcometochristown

Description

The button click animation does not work in my Android app .Net8 for Maui, but does work in .Net7

Using the default project for both, only in .Net7 can I see the little fade animation when I press the button.

.net8
270119662-96f25308-a7fd-4e68-84d1-9e2d4c16960b

.net7
270119657-02bf0055-bd42-4d04-9cba-945a393659e5

From what I have gathered the .net 7, the button's android platform view's background value is an instance of the RippleDrawable Class. And In the .net 8, it's an instance of the BorderDrawable Class.

Steps to Reproduce

Create Default Maui application (Using .Net 8)
Run default application on android.
Click counter button.

Link to public reproduction project repository

No response

Version with bug

8.0.0-preview.6.8686

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.0-preview.5.8529

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions