android-floating-action-button icon indicating copy to clipboard operation
android-floating-action-button copied to clipboard

Vector Drawable Icons

Open dovahkiin98 opened this issue 7 years ago • 2 comments

I'm trying to put vector drawables for FloatingActionButton in fab_icon, it throws an exception while inflating, resource not found.

dovahkiin98 avatar Apr 02 '18 11:04 dovahkiin98

Do you have any more detail on this issue? I am able to set app:fab_icon using vector drawables with no problem in my personal project

jdvp avatar Nov 11 '18 19:11 jdvp

same here.

<com.getbase.floatingactionbutton.FloatingActionButton
            android:id="@+id/fragmentAllLists_fab_regular"
            style="@style/fab_sub"
            app:fab_icon="@drawable/ic_list_regular_white" //this is a vector drawable
            app:fab_title="@string/regular"/>

produces AAPT: error: resource drawable/ic_list_regular_white (aka my.pacjage.name:drawable/ic_list_regular_white) not found.

or-dvir avatar Oct 26 '19 12:10 or-dvir