Closed TeuryBazzo closed 6 years ago
This issue is similiar to #23 it's solved by assigning a style like "NoShadow" in your style.xml
file:
<style name="NoShadowButton" parent="android:style/Widget.Button">
<item name="android:stateListAnimator">@null</item>
</style>
And then set this style to android:buttonStyle
in your main style, like this:
<item name="android:buttonStyle">@style/NoShadowButton</item>
For more information see this sample file
I'm closing the issue as no further response from user. Feel free to re-open if you run into issues around this again or there are further comments.
My code in xaml
local:CircleButton AbsoluteLayout.LayoutBounds=".95,.95,.15,.15" AbsoluteLayout.LayoutFlags="All" Image="icn_mais_24" BackgroundColor="#005F9C" Command="{Binding NovoDocumentoCommand}" TextColor="White" HeightRequest="70" WidthRequest="70" >
this xaml show correct Button :
but when i click on the Button it shows the borders
I think that occurs on the property backgroundColor, why when i take off this property, this problem don't occurs
any soluction ?