dmytrodanylyk / android-process-button

Android Buttons With Built-in Progress Meters.
http://dmytrodanylyk.com/pages/portfolio/portfolio-process-button.html
MIT License
3k stars 545 forks source link

drawable background dosnt work .. #59

Open emadph opened 7 years ago

emadph commented 7 years ago

hi why drawable background dosnt work ... in Xml looks fine.. but after Running ... button selector corners disappear am i missing sth !?

<com.dd.processbutton.iml.ActionProcessButton android:id="@+id/basket_stage3_factor_btn_off" android:layout_width="wrap_content" android:layout_height="@dimen/value_40dp" android:layout_gravity="center"

                                android:background="@drawable/button_selector"

                                android:gravity="center"
                                android:text="@string/save"
                                android:padding="@dimen/value_2dp"
                                custom:pb_colorComplete="@color/btn_login"
                                custom:pb_colorProgress="@color/purple_progress"
                                custom:pb_textComplete="@string/Success_send_coupon"
                                custom:pb_textProgress="@string/Loading"
                                custom:pb_colorError="@color/red_error"
                            />