0.10.0 version changed the look of my button
anonym24 opened this issue · 1 comments
anonym24 commented
Before I had implementation 'com.ncorti:slidetoact:0.9.0'
and the button looked like this
I upgraded to 'com.ncorti:slidetoact:0.10.0'
and now it looks like this
What has been changed? :)
<style name="Theme.MyApp.SlideButton" parent="">
<item name="android:layout_width">0dp</item>
<item name="android:layout_height">wrap_content</item>
<item name="area_margin">0dp</item>
<item name="border_radius">8dp</item>
<item name="inner_color">@color/white</item>
<item name="outer_color">@color/colorSlideButtonOuterColor</item>
<item name="rotate_icon">false</item>
<item name="slider_height">48dp</item>
<item name="slider_icon">@drawable/ic_slide_arrow</item>
<item name="slider_icon_color">@color/colorSlideButtonIconColor</item>
<item name="text">Accept</item>
<item name="text_appearance">@style/Theme.MyApp.TextAppearance.SlideButton</item>
<item name="text_size">16sp</item>
<item name="animation_duration">0</item>
</style>
<style name="Theme.MyApp.TextAppearance.SlideButton" parent="Widget.AppCompat.TextView">
<item name="android:fontFamily">@font/inter_medium_500</item>
<item name="android:textSize">16sp</item>
<item name="android:textColor">@color/colorTextOnLight</item>
</style>
cortinico commented
It seems like a bug with the border_radius
. Are you able to reproduce on the sample app of this library?