gowong / material-sheet-fab

Android library that provides the floating action button to sheet transition from Google's Material Design.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No resources found

prashanthd opened this issue · comments

I tried using 1.2.1 and 1.0.4 version. I got below error in both versions.

Error:(2174, 21) No resource found that matches the given name: attr 'cardBackgroundColor'. Error:(2175, 21) No resource found that matches the given name: attr 'cardCornerRadius'. Error:(2173, 21) No resource found that matches the given name: attr 'contentPadding'. Error:(2193, 21) No resource found that matches the given name: attr 'cardBackgroundColor'. Error:(2194, 21) No resource found that matches the given name: attr 'cardElevation'. Error:(2195, 21) No resource found that matches the given name: attr 'cardMaxElevation'. Error:(2196, 21) No resource found that matches the given name: attr 'contentPadding'. Error:(2174, 21) No resource found that matches the given name: attr 'cardBackgroundColor'. Error:(2175, 21) No resource found that matches the given name: attr 'cardCornerRadius'. Error:(2173, 21) No resource found that matches the given name: attr 'contentPadding'. Error:(2193, 21) No resource found that matches the given name: attr 'cardBackgroundColor'. Error:(2194, 21) No resource found that matches the given name: attr 'cardElevation'. Error:(2195, 21) No resource found that matches the given name: attr 'cardMaxElevation'. Error:(2196, 21) No resource found that matches the given name: attr 'contentPadding'.

Did you download the support library using the SDK manager?

I just added gradle dependency compile 'com.gordonwong:material-sheet-fab:1.2.1' .. Do I need to do anything more? Support library is there.
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha3'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:support-v4:23.4.0'

Does it compile if you remove material-sheet-fab from your dependencies?
The error looks like support lib is not installed. https://developer.android.com/topic/libraries/support-library/setup.html#download