-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi ,
I am setting a colour to the button , the button shows different color on the running app.
the colour code i am setting is #01356a and i see the color #0099cc on runtime.
The reason for asking this question here is because if i use normal Default Button , the color shows as expected, but with library i am getting different color.
Here is my xml
<com.nihaskalam.progressbuttonlibrary.CircularProgressButton
android:id="@+id/btnLogin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginStart="30dp"
android:layout_marginTop="5dp"
android:layout_marginEnd="30dp"
app:pb_cornerRadius="2dp"
android:layout_marginBottom="20dp"
android:background="@drawable/drawable_login_button"
android:bufferType="normal"
android:fontFamily="@font/lato_bold"
android:gravity="center"
android:text="LOGIN"
android:textColor="#FFFFFF"
android:textSize="15sp"
app:pb_colorIndicator="#fbb205"
app:pb_colorProgress="#01356a"
app:pb_textIdle="LOGIN" />
and my
drawable_login_button.xml
<corners android:radius="8dp"/>
<solid android:color="#01356a"/>
Metadata
Metadata
Assignees
Labels
No labels