Open davidbritch opened 4 years ago
@brminnick I can't seem to get your repro project to run - every time I try on Android, I'm getting this:
Android.Views.InflateException: 'Binary XML file line #1 in com.companyname.shapesdemos:layout/toolbar: Binary XML file line #1 in com.companyname.shapesdemos:layout/toolbar: Error inflating class android.support.v7.widget.Toolbar'
@brminnick I can't seem to get your repro project to run
^@davidbritch I think this message is meant for you
@hartez This is an issue I've noticed with Forms 5.0. If the Android manifest doesn't set the target Android version to API 29 or higher, you get that error. I'll open a separate issue for it.
@davidortinau As asked for in #14206: Another issue without workaround which makes features fo Xamarin.Forms unusable to us.
Description
The
RoundRectangleGeometry
class has been added to Forms 5.0. The scenario it's tested against is clipping. However, it could also be used in aPath
:This code results in a rounded rectangle that has an ellipse in each corner (presumably because of the
EllipseGeometry
objects theRoundedRectangleGeometry
class adds to theGeometryGroup
):Steps to Reproduce
Expected Behavior
A rounded rectangle is displayed.
Actual Behavior
A rounded rectangle is displayed, that has four ellipses rendered in its corners, with the top left ellipse being a larger size.
Basic Information
Reproduction Link
ShapesDemos.zip