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

Adding custom animations to FAB xml #215

Open
JeremyPacker opened this issue Jun 8, 2016 · 0 comments
Open

Adding custom animations to FAB xml #215

JeremyPacker opened this issue Jun 8, 2016 · 0 comments

Comments

@JeremyPacker
Copy link

Hi There,

I'm trying to implement custom animation behaviours for the show/hide animation attributes in the XML. My code is as followed and animations are there. Am I Missing something or is this an issue?

<com.melnykov.fab.FloatingActionButton
xmlns:fab="http://schemas.android.com/apk/res-auto"
android:id="@+id/studioFABFeed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_mic_white_24dp"
android:layout_marginRight="22dp"
android:layout_marginBottom="25dp"
android:elevation="10dp"
android:layout_gravity="end|bottom"
android:visibility="visible"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
fab:fab_colorNormal="@color/gold"
fab:fab_colorPressed="@color/white"
fab:fab_progress_showBackground="false"
fab:fab_showAnimation="@anim/fab_scale_up"
fab:fab_hideAnimation="@anim/fab_scale_down"
android:clickable="true" />

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

1 participant