Cannot set default background color
Closed this issue · 4 comments
HosseinArabbeigi commented
I need to set default background color, but button loses the corner angles:
<br.com.simplepass.loadingbutton.customViews.CircularProgressButton
android:id="@+id/home_connect_bt"
android:layout_width="@dimen/_50sdp"
android:layout_height="@dimen/_50sdp"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/home_title_tv"
android:background="@color/red_1"/>
Dave181295 commented
Got the same issue
leandroBorgesFerreira commented
Hello hello. Did you set the desired corner angle? I don't see it in your XML. If you don't set it, it will be a rectangle, just like you described. Take a look in the configurations: app:initialCornerAngle
HosseinArabbeigi commented
Thanks @leandroBorgesFerreira for your response, sorry in above code I forgot to add corners radius but I had the problem and finally implemented the view without using library.
leandroBorgesFerreira commented
Oh ok. Good to see that this is no longer a problem. I'll close it then.