Components
Buttons providing easy access to important actions.
FAB stands for floating action button and they perform a specific highly important task. FABS are usually high up in the page’s hierarchy and as such should be used sparingly to avoid overuse.
There are two types of FAB components: ThumbprintIconFab and ThumbprintTextFab
ThumbprintIconFab should sit in the lower right hand side of a UI and perform important tasks that are high priority compared to other actions on the page.
ThumbprintTextFab should sit in the bottom middle of a UI and has text and an optional icon to the left of the text.
There is only one style of icon FABs
There are two styles for text FABs: primary and secondary
ThumbprintIconFab
Configurable items
android:src
in XML or ThumbprintIconFab.setImageResource() / ThumbprintIconFab.setImageDrawable
, DrawableResandroid:contentDescription
in XML or ThumbprintIconFab.contentDescription, StringThumbprintTextFab
Configurable items
app:fabStyle
in XML or ThumbprintTextFab.fabStyle
, with enum values primary
or secondary
, defaults to primary
android:text
in XML or ThumbprintTextFab.text
, Stringapp:icon
in XML or ThumbprintTextFab.icon
, optional DrawableRes; defaults to nullandroid:contentDescription
in XML or ThumbprintIconFab.contentDescription, String