FABRevealLayout icon indicating copy to clipboard operation
FABRevealLayout copied to clipboard

Using this project as a library project and getting: Error:Plugin with id 'com.github.dcendents.android-maven' not found.

Open Meeks91 opened this issue 9 years ago • 2 comments

I tried to use FabRevealLayout as a library project as I need to change the size of the android.support.design.widget.FloatingActionButton.

But when I tried to import it as a library project I got this error:

Error:Plugin with id 'com.github.dcendents.android-maven' not found.

Any idea how to solve this?

Thanks in advance.

Meeks91 avatar Sep 14 '15 16:09 Meeks91

You can change the size of the FloatingActionButton in the xml layout file. Besides this, I don't have any previous experience to solve your problem, never happened to me before. Sorry.

truizlop avatar Sep 21 '15 08:09 truizlop

Sorry for my late response and thanks for your answer. You're right that you can change the size using the XML, but I found this only worked with a a dp size that is equal to or below 60dp, after that it stopped working properly, for example the circle elongated itself turning it into an egg type shape but, it does go beyond 60dp if you use match_parent which is curious. My solution in the end was to extend the FloatingActionButton class and override its onMeasue() method.

Maybe I implemented it incorrectly, I used: android.support.design.widget.FloatingActionButton

Great library.

Meeks91 avatar Oct 08 '15 21:10 Meeks91