dotnet/maui

GraphicsView line stroke rendering inconsistent on Android compared to other platforms

Open

#32,465 opened on Nov 10, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (23,245 stars) (1,951 forks)batch import
area-drawinggood first issueplatform/androids/triageds/verifiedt/bug

Description

Description

When using GraphicsView with a custom IDrawable implementation to draw grid lines, the stroke rendering on Android looks visually different compared to other platforms like windows. The lines appear thinner or inconsistent even when the same StrokeSize and color are applied.

Steps to Reproduce

  • Download and run the attached sample project on Android.

BorderSample.zip

Expected Behavior Grid lines should have consistent stroke thickness and appearance across all platforms when using the same StrokeSize and color.

Actual Behavior On Android, the grid lines appear visually thinner or inconsistent.

(See attached screenshot for reference.)

Link to public reproduction project repository

No response

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Contributor guide