Colored border for button in Android with AppCompat?

MikkoSMikkoS USMember


After updating my Activity to derive from FormsAppCompatActivity, the button borders are no longer visible. Before AppCompat I was able to add a colored border like this:

  <Style x:Key="MyButtonStyle" TargetType="Button">
    <Setter Property="BorderColor" Value="{StaticResource MyButtonBorderColor}" />
    <Setter Property="BorderWidth" Value="1" />

However, this is no longer working. Any ideas how to to get this working with AppCompat?


Sign In or Register to comment.