Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector Drawable Icons #357

Open
dovahkiin98 opened this issue Apr 2, 2018 · 2 comments
Open

Vector Drawable Icons #357

dovahkiin98 opened this issue Apr 2, 2018 · 2 comments

Comments

@dovahkiin98
Copy link

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

@jdvp
Copy link

jdvp commented Nov 11, 2018

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

@or-dvir
Copy link

or-dvir commented Oct 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants