medyo / Fancybuttons

Icons, Borders, Radius ... for Android buttons
1.77k stars 397 forks source link

Your library no longer works #136

Open ghost opened 3 years ago

ghost commented 3 years ago

The code I use:

<mehdi.sakout.fancybuttons.FancyButton
        android:id="@+id/btn_preview"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

The error I get:

Class referenced in the layout file, mehdi.sakout.fancybuttons.FancyButton, was not found in the project or the libraries
Cannot resolve class mehdi.sakout.fancybuttons.FancyButton 
OmaarElAmri commented 2 years ago

it works just make sure you Include FancyButtons namespace to the root element : xmlns:fancy="http://schemas.android.com/apk/res-auto"