Colored border for button in Android with AppCompat?

MikkoSMikkoS USMember

Hi,

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" />
  </Style>

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

Answers

Sign In or Register to comment.