Bug 51102 - AppCompat ButtonRenderer does not use BorderRadius
Summary: AppCompat ButtonRenderer does not use BorderRadius
Status: RESOLVED DUPLICATE of bug 36031
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-12-28 18:06 UTC by John Miller [MSFT]
Modified: 2016-12-28 19:59 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description John Miller [MSFT] 2016-12-28 18:06:26 UTC
** Overview **:

The AppCompat ButtonRenderer does not use the BorderRadius of the Element so this property has no effect with FormsAppCompatActivity. 

** Steps to Reproduce **:

1. Add the following code to a new XF project and make sure the Android activity is using FormsAppCompatActivity (new templates should by default)

    <StackLayout Orientation="Vertical">
        <Label Text="Welcome to Xamarin Forms!"
               HorizontalOptions="Center" />
        <Button Text="Test Button"
                BackgroundColor="Aqua" />

** Actual Results **:

The border is not rounded.

** Expected Results **:

The border should be rounded, just like when not using AppCompat.
Comment 1 John Miller [MSFT] 2016-12-28 18:09:39 UTC
** Additional Information **:

It looks like none of the Border* properties on Button are used in the AppCompat renderer:

Comment 3 Samantha Houts [MSFT] 2016-12-28 19:58:29 UTC

*** This bug has been marked as a duplicate of bug 36031 ***