UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Follow publication

Sketch + inVision: How to do a Floating Action Button (FAB) for Android prototypes

Showing your interaction design to stakeholders by using prototypes is a useful and helpful step into your UX design process. The Floating Action Button represents the main action in a screen design (according to the specs of Material Design), and the FAB is a strong interface element to use in order to make a recognizable UX for Android users.

So imagine you designed the layout with your FAB, and you want to scroll the content of the screen design keeping fixed the Floating Action Button. You need to place the elements in a specific way.

First, in Sketch, create a rectangle with the colour background that you want in your design and place it behind your content layout (in this case, I created a white rectangle).

Second, place the FAB and bottom bar below your content layout.

Third, don’t define a background colour for your Artboard. You can check it by selecting your artboard and view the thumbnail on the right side (the background of your artboard behind the FAB has to be transparent).

Fourth, add your screen design to inVision. Then, go to your screen design and select the ‘Build Mode’. Lastly, move the fixed footer just at the end of your rectangle background (above the FAB).

Then, you will be able to scroll the content and the FAB will be fixed on the screen design.

Hope this helps!

Join my Skillshare class about how to build prototypes in inVision for more tips: https://skl.sh/2Y4hj6l

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Published in UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Written by Martina Pérez

Product Designer @Hotjar · martinaperez.com Working in AI, believing in collaboration among disciplines to build the best products for users and businesses

Responses (8)

Write a response

There is a white space empty once you’ve scroll down to the very bottom of the screen :\

--

Smart! Exactly what I was looking for. :)

--

Great article, helped me no end though it’s a shame you can’t simply add a transparent PNG to InVision as a persistent overlay without having to trigger it.
For those with problems still having a solid background, make sure that the artboard is set…

--